diff options
author | Mustafa Gonul | 2018-03-14 21:24:15 +0300 |
---|---|---|
committer | Mustafa Gonul | 2018-03-14 21:24:15 +0300 |
commit | 420266cc2c9e7451d2eeefc340da81b87f750202 (patch) | |
tree | c901d52f89f574d209b91a9d6473a684d78f036a /PKGBUILD | |
download | aur-vim-wildgitignore-git.tar.gz |
- vim-wildgitignore-git init
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..808b050a136e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Mustafa Gönül <mustafagonul@gmail.com> +pkgname=vim-wildgitignore-git +pkgver=e863d50 +pkgrel=1 +pkgdesc="This plugin just turns gitignore rules into vim wildignore rules." +arch=('any') +url="https://github.com/jason0x43/vim-wildgitignore" +license=('') +groups=('vim-plugins') +depends=('vim-runtime') +makedepends=('git') +source=("$pkgname::git+https://github.com/jason0x43/vim-wildgitignore") +sha512sums=('SKIP') + +pkgver() { + cd $pkgname + # echo $(git describe --tags | sed 's#-#_#g;s#v##') + echo "$(git describe --always|cut -d 'v' -f2|sed -e 's|-|.|g' )" +} + +package() { + cd "$srcdir/$pkgname" + mkdir -p $pkgdir/usr/share/vim/vimfiles/plugin + cp -r plugin/* $pkgdir/usr/share/vim/vimfiles/plugin/ +} + +# vim:set ts=2 sw=2 et: |