1 # Maintainer: Yerko Escalona <yescalona.at.uchile.dot.ug.dot.cl>
6 pkgdesc="This plugin creates an integrated debugging environment in VIM."
10 makedepends=('git' 'pydbgp-git')
11 url="http://jaredforsyth.com/projects/vim-debug/"
12 source=('debugger.vim')
13 md5sums=('583a6b20a1ffc7ea8738d46076157bcc')
15 _gitroot="git://github.com/jabapyth/vim-debug.git"
21 msg "Connecting to GIT server..."
22 if [[ -d ${_gitname} ]]; then
23 (cd ${_gitname} && git pull origin)
25 git clone ${_gitroot} ${_gitname}
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf ${_gitname}-build
31 git clone ${_gitname} ${_gitname}-build
33 cd ${srcdir}/${_gitname}-build
37 cd ${srcdir}/${_gitname}-build
38 python2 setup.py install --root=$pkgdir/ --optimize=1
40 install -D -m644 ${srcdir}/debugger.vim ${pkgdir}/usr/share/vim/vimfiles/plugin/debugger.vim