updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / vim-largefile / PKGBUILD
blobe52c70571ab5bb485d4da7232a44a5234d5dfc4a
1 # Previous maintainer: Laszlo Papp <djszapi @ gmail at com>
2 # Current maintainer: Danny Navarro <j@dannynavarro.net>
4 pkgname=vim-largefile
5 pkgver=4
6 _scriptid=9277
7 pkgrel=3
8 pkgdesc="A vim plugin to work with large files"
9 arch=('any')
10 url="http://www.vim.org/scripts/script.php?script_id=1506"
11 license=('custom:vim')
12 depends=('vim')
13 groups=('vim-plugins')
14 install=vimdoc.install
15 source=("${pkgname}_${pkgver}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid"
16         'license.txt')
17 md5sums=('e742dd95b8801b185b0a0a3020589f2d'
18          'cd49910a3dde6fe0a7e24ebe8cbf7066')
20 build() {
21     cd ${srcdir}
22     install -d {doc,plugin}
23     vim -c "UseVimball ." -c "q" ${pkgname}_${pkgver}.vba.gz
24     install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,plugin} || return 1
25     install -m644 doc/*.txt ${pkgdir}/usr/share/vim/vimfiles/doc/ || return 1
26     install -m644 plugin/* ${pkgdir}/usr/share/vim/vimfiles/plugin/ || return 1
27     install -Dm644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE