Created
June 19, 2011 18:55
-
-
Save aldrik/1034599 to your computer and use it in GitHub Desktop.
Updated vim-neverland-git PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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