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

25 lines
809 B
Bash

# $Id: PKGBUILD 49638 2009-08-14 06:20:28Z tobias $
# Maintainer : Aaron Griffin <aaron@archlinux.org>
pkgname=vim-minibufexpl
pkgver=6.3.2
pkgrel=6
_scriptid=3640
pkgdesc="An elegant buffer explorer for vim"
arch=(i686 x86_64)
url="http://www.vim.org/scripts/script.php?script_id=159"
license=('custom')
depends=(vim)
groups=('vim-plugins')
source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid LICENSE)
md5sums=('c47a9d844788daa38563c4e33c8f0d6e' 'aa6bc9c176702f23ee9f8476f72e3971')
build() {
cd $srcdir
mv download_script.php?src_id=$_scriptid minibufexpl.vim
installpath="$pkgdir/usr/share/vim/vimfiles"
install -D -m644 minibufexpl.vim $installpath/plugin/minibufexpl.vim || return 1
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
}