Skip to content

Instantly share code, notes, and snippets.

@aldrik
Created June 19, 2011 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aldrik/1034599 to your computer and use it in GitHub Desktop.
Save aldrik/1034599 to your computer and use it in GitHub Desktop.
Updated vim-neverland-git PKGBUILD
# 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/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment