1 # Maintainer: mjheagle <mjheagle8@gmail.com>
2 pkgname=vim-bufstat-git
5 pkgdesc="buffer listing in status bar for vim"
6 url="https://github.com/rson/vim-bufstat/"
12 _giturl="git://github.com/rson/vim-bufstat.git"
13 _gitname="vim-bufstat"
17 msg "Connecting to GIT server..."
18 if [ -d ${_gitname} ]; then
22 git clone ${_giturl} ${_gitname} --depth=1
24 msg "GIT checkout done or server timeout"
28 cd "${srcdir}/${_gitname}/plugin"
29 mkdir -p "${pkgdir}/usr/share/vim/vimfiles/plugin"
30 cp -R ./ "${pkgdir}/usr/share/vim/vimfiles/plugin"
31 cp -R ../doc "${pkgdir}/usr/share/vim/vimfiles/plugin"
32 cd "${pkgdir}/usr/share/vim/vimfiles/plugin"