1 # Maintainer: M Rawash <mrawash@gmail.com>
2 # Contributor: János Illés <ijanos@gmail.com>
6 pkgdesc="A git wrapper so awesome, it should be illegal. Latest git version"
8 url="http://www.vim.org/scripts/script.php?script_id=2975"
10 groups=('vim-plugins')
13 install=vimdoc.install
14 _gitroot='git://github.com/tpope/vim-fugitive.git'
15 _gitname='vim-fugitive'
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 cd ${srcdir}/vim-fugitive
31 installpath="${pkgdir}/usr/share/vim/vimfiles"
33 install -Dm644 doc/fugitive.txt $installpath/doc/fugitive.txt
34 install -Dm644 plugin/fugitive.vim $installpath/plugin/fugitive.vim
39 # vim:set ts=2 sw=2 et: