updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / vim-netrw / PKGBUILD
blob238767f6dc65e616238851c662e38420eb836f6c
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-netrw
3 pkgver=136
4 _scriptid=11979
5 pkgrel=1
6 pkgdesc="Network oriented reading, writing, and browsing (keywords: netrw ftp scp)"
7 arch=('i686' 'x86_64')
8 url="http://www.vim.org/scripts/script.php?script_id=1075"
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=('be2a1800636dd0823f0060f4017b005b'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/{doc,plugin,syntax,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" "syntax"; 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