diff options
author | Florian Pritz <bluewind@xssn.at> | 2009-08-20 00:51:51 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2009-08-20 00:51:51 +0200 |
commit | 168118db7c4b1fd03547440cc5359a6d1a2f4fd4 (patch) | |
tree | 6f2521b0d50d70a396dc969e803d0d11f8d33eeb /vim-nerdtree | |
parent | 702a3d5b092feb07625958a31dc225863319a10e (diff) | |
download | aur-packages-168118db7c4b1fd03547440cc5359a6d1a2f4fd4.tar.gz aur-packages-168118db7c4b1fd03547440cc5359a6d1a2f4fd4.tar.xz |
mass update
Diffstat (limited to 'vim-nerdtree')
-rw-r--r-- | vim-nerdtree/PKGBUILD | 32 | ||||
-rw-r--r-- | vim-nerdtree/license.txt | 8 | ||||
-rw-r--r-- | vim-nerdtree/vimdoc.install | 19 |
3 files changed, 46 insertions, 13 deletions
diff --git a/vim-nerdtree/PKGBUILD b/vim-nerdtree/PKGBUILD index 46b9b1f..0e3dc57 100644 --- a/vim-nerdtree/PKGBUILD +++ b/vim-nerdtree/PKGBUILD @@ -1,18 +1,24 @@ +# Maintainer: Laszlo Papp <djszapi @ gmail at com> pkgname=vim-nerdtree -pkgver=3.1.0 -_scriptid=9870 +pkgver=3.1.1 +_scriptid=10767 pkgrel=2 -pkgdesc='A Vim plugin allows you to explore your filesystem and to open files and directories' -arch=('i686' 'x86_64') -url='http://www.vim.org/scripts/script.php?script_id=1658' -license=('wtfpl') -depends=('vim') -source=("http://www.vim.org/scripts/download_script.php?src_id=$_scriptid") -md5sums=('266be763b2d9e6b8e0e36a3fa810ea3a') +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() { - cd $srcdir - installpath="$pkgdir/usr/share/vim" - install -D -m644 plugin/NERD_tree.vim $installpath/plugin/NERD_tree.vim - install -D -m644 doc/NERD_tree.txt $installpath/doc/NERD_tree.txt + install -d ${pkgdir}/usr/share/vim/{doc,plugin} + install -Dm755 ${srcdir}/doc/* ${pkgdir}/usr/share/vim/doc/ || return 1 + install -Dm755 ${srcdir}/plugin/* ${pkgdir}/usr/share/vim/plugin/ || return 1 + install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt } + diff --git a/vim-nerdtree/license.txt b/vim-nerdtree/license.txt new file mode 100644 index 0000000..226f27b --- /dev/null +++ b/vim-nerdtree/license.txt @@ -0,0 +1,8 @@ +Copyright (C) 2002-2007 Yegappan Lakshmanan +Permission is hereby granted to use and distribute this code, +with or without modifications, provided that this copyright +notice is copied with it. Like anything else that's free, +taglist.vim is provided *as is* and comes with no warranty of any +kind, either expressed or implied. In no event will the copyright +holder be liable for any damamges resulting from the use of this +software. diff --git a/vim-nerdtree/vimdoc.install b/vim-nerdtree/vimdoc.install new file mode 100644 index 0000000..5246e5c --- /dev/null +++ b/vim-nerdtree/vimdoc.install @@ -0,0 +1,19 @@ +post_install() { + echo -n "Updating vim help tags..." + /usr/bin/vim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install +} + +op=$1 +shift + +$op $* |