1 # Maintainer: Magnus Woldrich <trapd00r\@trapd00r.se>
2 pkgname=vim-neverland-git
5 pkgdesc='Dark, simple and colorful colorschemes with 256 colors'
7 url='http://github.com/trapd00r/neverland-vim-theme'
12 _gitroot="git://github.com/trapd00r/neverland-vim-theme.git"
13 _gitname="neverland-vim-theme"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
32 install -d ${pkgdir}/usr/share/vim/vim73/colors/
33 cp *.vim $pkgdir/usr/share/vim/vim73/colors/ || return 1