PKGBUILDs/extra/vim-bufexplorer/PKGBUILD
2009-10-09 21:23:22 -05:00

35 lines
974 B
Bash

#$Id: PKGBUILD 49633 2009-08-14 06:18:02Z tobias $
#Maintainer: Aaron Griffin <aaron@archlinux.org>
pkgname=vim-bufexplorer
pkgver=7.2.2
_scriptid=9524
pkgrel=3
pkgdesc="A simple buffer list/switcher for vim "
arch=(i686 x86_64)
url="http://www.vim.org/scripts/script.php?script_id=42"
license=('custom')
depends=('vim>=7.0')
groups=('vim-plugins')
install=vimdoc.install
source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid
license.txt)
md5sums=('1013ceca174d77758284c5f44a9d3f48'
'b1a7f22e90469abdad3ffd55120e6887')
build() {
cd $srcdir
mv download_script.php?src_id=$_scriptid bufexplorer.zip
bsdtar -xf bufexplorer.zip
installpath="$pkgdir/usr/share/vim/vimfiles"
install -D -m644 doc/bufexplorer.txt \
$installpath/doc/bufexplorer.txt
install -D -m644 plugin/bufexplorer.vim \
$installpath/plugin/bufexplorer.vim
install -D -m644 license.txt \
$pkgdir/usr/share/licenses/$pkgname/license.txt
}