blob: 510348879fad7a7ec6701bb18b5a1f009fdabf86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Contributor: Ariel Popper <a@arielp.com>
pkgname=vim-airline-git
pkgver=0.11.r509.gebb89a08
pkgrel=1
epoch=1
pkgdesc="A lean & mean statusline for vim that's light as air."
arch=('any')
url='https://github.com/vim-airline/vim-airline'
license=('MIT')
groups=('vim-plugins')
depends=('vim-plugin-runtime')
makedepends=('git')
conflicts=('vim-airline')
provides=('vim-airline')
source=("git+https://github.com/vim-airline/${pkgname%-git}.git")
optdepends=('otf-powerline-symbols-git: use the Powerline symbols'
'vim-airline-themes-git: alternative themes')
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${pkgname%-git}"
_installpath="${pkgdir}/usr/share/vim/vimfiles"
mkdir -p "${_installpath}"
cp -r autoload doc plugin test "${_installpath}"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|