public
Created

Updated vim-neverland-git PKGBUILD

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
# Maintainer: Magnus Woldrich <trapd00r\@trapd00r.se>
# Contributer: N30N <archlinux@alunamation.com>
 
pkgname=vim-neverland-git
pkgver=20110619
pkgrel=1
pkgdesc='Dark, simple and colorful colorschemes with 256 colors'
arch=(i686 x86_64)
url='http://github.com/trapd00r/neverland-vim-theme'
license=('GPLv2')
depends=(vim)
groups=(vim-plugins)
 
_gitroot="git://github.com/trapd00r/neverland-vim-theme.git"
_gitname="neverland-vim-theme"
 
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
 
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
 
msg "GIT checkout done or server timeout"
}
 
package() {
cd "${srcdir}/${_gitname}/colors/"
install -d "${pkgdir}/usr/share/vim/vim73/colors/"
install -m644 *.vim "${pkgdir}/usr/share/vim/vim73/colors/"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.