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

25 lines
801 B
Bash

# $Id: PKGBUILD 49636 2009-08-14 06:19:29Z tobias $
# Maintainer : Aaron Griffin <aaron@archlinux.org>
pkgname=vim-guicolorscheme
pkgver=1.2
_scriptid=10162
pkgrel=2
pkgdesc="auto convert gui-only colorschemes to 88/256 color terminal schemes"
arch=(i686 x86_64)
url="http://www.vim.org/scripts/script.php?script_id=1809"
depends=(vim)
license=('GPL')
groups=('vim-plugins')
source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid)
md5sums=('6b2cac00ab870106c3c1c5409d799ffa')
sha256sums=('a30e0c06617def9753a086b80c4c32bfe8fa2fbcd47a8bfc9cb1d9e2e87a4aba')
build() {
cd $srcdir
mv download_script.php?src_id=$_scriptid guicolorscheme.vim
installpath="$pkgdir/usr/share/vim/vimfiles"
install -D -m644 guicolorscheme.vim $installpath/plugin/guicolorscheme.vim || return 1
}