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

29 lines
981 B
Bash

# $Id: PKGBUILD 49640 2009-08-14 06:21:26Z tobias $
# Maintainer : Aaron Griffin <aaron@archlinux.org>
pkgname=vim-project
pkgver=1.4.1
_scriptid=6273
pkgrel=4
pkgdesc="Organize and navigate projects of files (like an ide/buffer explorer)"
arch=(i686 x86_64)
url="http://www.vim.org/scripts/script.php?script_id=69"
license=('custom')
depends=(vim)
groups=('vim-plugins')
install=vimdoc.install
source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid LICENSE)
md5sums=('95ddb23f0e301a79e869c608a36637de' '64ab6c0d41d5153d51439913d23f71ae')
build()
{
cd $srcdir
mv download_script.php?src_id=$_scriptid project-${pkgver}.tar.gz
tar xzf project-${pkgver}.tar.gz
installpath="$pkgdir/usr/share/vim/vimfiles"
install -D -m644 doc/project.txt $installpath/doc/project.txt || return 1
install -D -m644 plugin/project.vim $installpath/plugin/project.vim || return 1
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
}