blob: 80bb04421e0491a3776ded8d14f208643346ac2f (
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
25
26
|
# Maintainer: Laszlo Papp <djszapi @ gmail at com>
pkgname=vim-nerdtree
pkgver=4.1.0
_scriptid=11834
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=('a15fa66b36c3261e598d93dc830398f6'
'efbd5986e691ce8c876fb86e8f5961ea')
build() {
install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,nerdtree_plugin,plugin} || return 1
install -Dm755 ${srcdir}/doc/* ${pkgdir}/usr/share/vim/vimfiles/doc/ || return 1
install -Dm755 ${srcdir}/nerdtree_plugin/* \
${pkgdir}/usr/share/vim/vimfiles/nerdtree_plugin/ || 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 || return 1
}
|