1 # Maintainer: Leif Warner <abimelech@gmail.com>
5 pkgdesc="Slim template language syntax support for Vim."
7 url="https://github.com/bbommarito/vim-slim"
10 optdepends=('vim-coffeescript')
13 conflicts=('vim-slim')
15 _gitroot="https://github.com/bbommarito/vim-slim.git"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
40 install -D -m644 syntax/slim.vim "${pkgdir}/usr/share/vim/vimfiles/syntax/slim.vim"
41 install -D -m644 ftdetect/slim.vim "${pkgdir}/usr/share/vim/vimfiles/ftdetect/slim.vim"