summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 808b050a136ebb509b202e0bae1e36522959b8d2 (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
# 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: