updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / vim-enhancedjumps / PKGBUILD
blobdce7f9d43cef2307d58680e128820355ed708692
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-enhancedjumps
3 pkgver=1.12
4 _scriptid=11025
5 pkgrel=2
6 pkgdesc="Enhanced jump list navigation commands"
7 arch=('i686' 'x86_64')
8 url="http://www.vim.org/scripts/script.php?script_id=2695"
9 license=('custom')
10 depends=(vim)
11 groups=('vim-plugins')
12 install=vimdoc.install
13 source=(${pkgname}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
14         license.txt)
15 md5sums=('9f27d6c905263a0bd1ad543b52cb67b0'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/{doc,plugin,autoload}
20     vim -c "UseVimball $srcdir" -c "q" ${pkgname}.vba
21     for x in "doc"; do install -Dm644 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/$x/ || return 1; done
22     for x in "plugin" "autoload"; do install -Dm755 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/$x/ || return 1; done
23     install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1