diff options
author | Leif Warner | 2015-11-16 19:52:41 -0800 |
---|---|---|
committer | Leif Warner | 2015-11-16 19:58:44 -0800 |
commit | e778b7be7d9f59e04fc8e9599a702373722d6539 (patch) | |
tree | 6a16305c289d9f0f84f860d892a0df746d08766a /PKGBUILD | |
download | aur-vim-vimproc-git.tar.gz |
Initial commit ver.9.2.r5.ee10f74-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e6890b4d507d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines +# for more information on packaging from GIT sources. + +# Contributor: anergy <anergy.25110321@gmail.com> +# Maintainer: Leif Warner <abimelech@gmail.com> +_gitname=vimproc +pkgname=vim-vimproc-git +pkgver=ver.9.2.r5.ee10f74 +pkgrel=1 +pkgdesc="interactive command execution in vim" +arch=(i686 x86_64) +url="https://github.com/Shougo/vimproc" +depends=(vim) +makedepends=('git') +provides=(vim-vimproc) +conflicts=(vim-vimproc) +install=vimdoc.install +source=('git://github.com/Shougo/vimproc.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_gitname" + printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" +} + +build() { + cd "$srcdir/$_gitname" + make +} + +package() { + cd "$srcdir/$_gitname" + for f in autoload/vimproc.vim autoload/vimproc/* doc/* plugin/* lib/* ; do + install -Dm644 $f "${pkgdir}/usr/share/vim/vimfiles/$f" + done +} + +# vim:set ts=2 sw=2 et: |