updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / vim-nerdtree / PKGBUILD
blob5d7195ac2b824d0b531dc049454522e68ebb6e88
1 # Maintainer: Kwpolska <kwpolska@gmail.com>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
3 # Contributor: Laszlo Papp <djszapi @ gmail at com>
5 pkgname=vim-nerdtree
6 pkgver=4.2.0
7 _scriptid=17123
8 pkgrel=2
9 pkgdesc='A tree explorer plugin for navigating the filesystem'
10 arch=('any')
11 url="http://www.vim.org/scripts/script.php?script_id=1658"
12 license=('custom')
13 depends=('vim')
14 groups=('vim-plugins')
15 install='vimdoc.install'
16 source=("${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}"
17         'license.txt')
18 md5sums=('39e61096eb0c54a4d386eaba49d6de3d'
19          'efbd5986e691ce8c876fb86e8f5961ea')
21 package() {
22   install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,nerdtree_plugin,plugin,syntax}
24   install -D -m644 ${srcdir}/doc/* \
25     ${pkgdir}/usr/share/vim/vimfiles/doc/
27   install -D -m644 ${srcdir}/nerdtree_plugin/* \
28     ${pkgdir}/usr/share/vim/vimfiles/nerdtree_plugin/
30   install -D -m644 ${srcdir}/plugin/* \
31     ${pkgdir}/usr/share/vim/vimfiles/plugin/
33   install -D -m644 ${srcdir}/syntax/* \
34     ${pkgdir}/usr/share/vim/vimfiles/syntax/
36   install -D -m644 ${srcdir}/license.txt \
37     ${pkgdir}/usr/share/licenses/${pkgname}/license.txt