1 # Maintainer: Pawel 'kTT' Salata <rockplayer.pl@gmail.com>
6 pkgdesc="A set of erlang plugins for VIM"
8 url="http://github.com/oscarh/vimerl"
10 groups=('vim-plugins')
11 depends=('vim' 'erlang')
16 _gitroot="http://github.com/oscarh/vimerl.git"
21 msg "Connecting to GIT server..."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
35 install -d ${pkgdir}/usr/share/vim/vimfiles
36 cp -R --preserve=mode autoload ftplugin indent syntax $pkgdir/usr/share/vim/vimfiles