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

29 lines
866 B
Bash

# $Id: PKGBUILD 49643 2009-08-14 06:22:56Z tobias $
# Maintainer : Aaron Griffin <aaron@archlinux.org>
pkgname=vim-workspace
pkgver=1.0b1
_scriptid=4812
pkgrel=4
pkgdesc="vim workspace manager plugin for managing groups of files "
arch=(i686 x86_64)
url="http://www.vim.org/scripts/script.php?script_id=1410"
license=('unknown')
depends=('vim')
makedepends=('unzip')
groups=('vim-plugins')
install=vimdoc.install
source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid)
md5sums=('bd6828d19ce7c62aac0afe28b881a8ba')
build()
{
cd $srcdir
mv download_script.php?src_id=$_scriptid workspace_1b1.zip
unzip -qqo workspace_1b1.zip
installpath="$pkgdir/usr/share/vim/vimfiles"
install -D -m644 doc/workspace.txt $installpath/doc/workspace.txt || return 1
install -D -m644 plugin/workspace.vim $installpath/plugin/workspace.vim || return 1
}