1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
6 pkgdesc="Network oriented reading, writing, and browsing (keywords: netrw ftp scp)"
8 url="http://www.vim.org/scripts/script.php?script_id=1075"
11 groups=('vim-plugins')
12 install=vimdoc.install
13 source=(${pkgname}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
15 md5sums=('be2a1800636dd0823f0060f4017b005b'
16 'efbd5986e691ce8c876fb86e8f5961ea')
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