diff options
author | Xyne | 2018-06-03 20:44:58 +0200 |
---|---|---|
committer | Xyne | 2018-06-03 20:44:58 +0200 |
commit | 2c48b3b89fe985701e7a1b2b4b8728102024b511 (patch) | |
tree | 28224e6a6ee28b7142bf8119bc88177af7a1cf2e /PKGBUILD | |
download | aur-vim-gutentag-git.tar.gz |
Initial commit.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..86e1a562adfc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Xyne (ca dot archlinux at xyne, backwards) + +pkgname=vim-gutentag-git +pkgver=r101.de24085 +pkgrel=1 +pkgdesc='Tag management and viewing plugin.' +url='https://github.com/mpevnev/guten-tag' +arch=('any') +license=('custom:vim') +depends=('vim') +groups=('vim-plugins') +source=("$pkgname::git+https://github.com/mpevnev/guten-tag.git") +sha512sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" + _installpath="$pkgdir/usr/share/vim/vimfiles" + find . -type f -name '*.vim' -exec install -Dm644 '{}' "$_installpath"/'{}' \; + install -Dm 644 license.txt -t "$pkgdir/usr/share/licenses/${pkgname}" +} + +# vim: ts=2 sw=2 et: |