1 # Maintainer: Ramana Kumar <firstname.lastname @ gmail at com>
5 pkgdesc="Inkpot, a dark scheme for GUI and 88/256 colour terms"
7 url="http://github.com/ciaranm/inkpot"
11 groups=('vim-plugins')
12 _gitroot="git://github.com/ciaranm/inkpot.git"
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"
33 VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
34 install -D colors/inkpot.vim ${pkgdir}${VIMRUNTIME}/colors/inkpot.vim || return 1