diff options
author | Rhinoceros | 2016-11-13 22:47:46 +1100 |
---|---|---|
committer | Rhinoceros | 2016-11-13 22:47:46 +1100 |
commit | 4e2ea559cb54091f7fbb66b6beef9e29592c15c4 (patch) | |
tree | 97d59f4f38d043d53ac853a745d97f915ac69cfb /PKGBUILD | |
download | aur-4e2ea559cb54091f7fbb66b6beef9e29592c15c4.tar.gz |
Initial commit of r37.1d93f47-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..b9cd3bfd4391 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros> + +pkgname=vim-indexed-search-git +pkgver=r37.1d93f47 +pkgrel=1 +pkgdesc='A Vim plugin to show the number of matches and index when searching' +arch=('any') +url='https://github.com/henrik/vim-indexed-search' +license=('unknown') +groups=('vim-plugins') +depends=('vim') +makedepends=('git') +provides=('vim-indexed-search') +conflicts=('vim-indexed-search') +install=vimdoc.install +source=('git+https://github.com/henrik/vim-indexed-search.git') +sha256sums=('SKIP') + +pkgver() { + cd "${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + _installpath="${pkgdir}/usr/share/vim/vimfiles" + mkdir -p "${_installpath}" + cp -r ${pkgname%-git}/{autoload,doc,plugin} "${_installpath}" +} |