updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / vim-perldoc / PKGBUILD
blob1bb11f45f1cd09251a5b35282cf8b56756b98fd3
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-perldoc
3 pkgver=1.1.1
4 _scriptid=1002
5 pkgrel=1
6 pkgdesc="perldoc command from vim"
7 arch=(i686 x86_64)
8 url="http://www.vim.org/scripts/script.php?script_id=209"
9 license=('custom')
10 depends=(vim)
11 groups=('vim-plugins')
12 install=vimdoc.install
13 source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
14         license.txt)
15 md5sums=('923ffbd717a7fe572a3822f83be2fbc7'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/{doc,ftplugin,syntax}
20     install -Dm755 ${srcdir}/doc/* ${pkgdir}/usr/share/vim/doc/ || return 1
21     install -Dm755 ${srcdir}/ftplugin/* ${pkgdir}/usr/share/vim/ftplugin/ || return 1
22     install -Dm755 ${srcdir}/syntax/* ${pkgdir}/usr/share/vim/syntax/ || return 1
23     install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt