summaryrefslogtreecommitdiffstats
path: root/vim-nerdtree/PKGBUILD
blob: 4e87897d4915652653ffb0af70edbc701afd8907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Laszlo Papp <djszapi @ gmail at com>
pkgname=vim-nerdtree
pkgver=3.1.1
_scriptid=10767
pkgrel=4
pkgdesc="A tree explorer plugin for navigating the filesystem"
arch=(i686 x86_64)
url="http://www.vim.org/scripts/script.php?script_id=1658"
license=('custom')
depends=(vim)
groups=('vim-plugins')
install=vimdoc.install
source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
        license.txt)
md5sums=('985c217d687eceeb3146145a8bbe6cd9'
         'efbd5986e691ce8c876fb86e8f5961ea')

build() {
    install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,plugin}
    install -Dm755 ${srcdir}/doc/* ${pkgdir}/usr/share/vim/vimfiles/doc/ || return 1
    install -Dm755 ${srcdir}/plugin/* ${pkgdir}/usr/share/vim/vimfiles/plugin/ || return 1
    install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}