diff options
author | Eli Schwartz | 2015-06-26 01:26:03 -0400 |
---|---|---|
committer | Eli Schwartz | 2015-06-26 01:26:03 -0400 |
commit | 2aca5cd51cbb40e5e82c208b90b9e018fe116160 (patch) | |
tree | 22a07188062b0b52f1957cc4a8a17a7defc57739 /PKGBUILD | |
download | aur-2aca5cd51cbb40e5e82c208b90b9e018fe116160.tar.gz |
Initial upload: vim-flagship-git 1.0.r7.g6fb105f-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7d3fce4e6397 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Eli Schwartz <eschwartz93@gmail.com> + +pkgname=vim-flagship-git +pkgver=1.0.r7.g6fb105f +pkgrel=1 +pkgdesc="Configurable and extensible tab line and status line, by tpope" +arch=('any') +url="https://github.com/tpope/${pkgname%-git}" +license=('custom:vim') +groups=('vim-plugins') +depends=('vim') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +install=vimdoc.install +source=("git://github.com/tpope/${pkgname%-git}.git") +sha512sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname%-git}" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2- +} + +package() { + cd "${srcdir}/${pkgname%-git}" + install -dm755 "${pkgdir}/usr/share/vim/vimfiles" + find * -maxdepth 0 -type d -exec cp -rt "${pkgdir}/usr/share/vim/vimfiles" '{}' \+ +} |