1 # Contributor: JWC <bulk @at jwcxz d0tcom>
2 pkgname=vim-neocomplcache-git
5 pkgdesc="Ultimate auto-completion system for Vim"
7 url="http://github.com/Shougo/neocomplcache"
22 _gitroot="http://github.com/Shougo/neocomplcache.git"
23 _gitname="neocomplcache"
26 cd "$srcdir" msg "Connecting to GIT server...."
28 if [ -d $_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
32 git clone $_gitroot $_gitname
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_gitname-build"
39 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
42 install -d ${pkgdir}/usr/share/vim/vimfiles
43 cp -R --preserve=mode * ${pkgdir}/usr/share/vim/vimfiles
45 # author doesn't provide any license file, though the plugin seems to be
46 # under the MIT license