2 # Contributor: Pawel Stiasny <pawelstiasny@gmail.com>
7 pkgdesc="A guitar tablature editor inspired by Vim"
9 url="https://github.com/PawelStiasny/VITABS"
11 depends=('python2' 'python-portmidi')
19 _gitroot="git://github.com/PawelStiasny/VITABS.git"
24 msg "Connecting to GIT server...."
26 if [ -d ${_gitname} ] ; then
27 cd ${_gitname} && git pull origin
28 msg "The local files are updated."
30 git clone ${_gitroot} ${_gitname}
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "${srcdir}/${_gitname}-build"
37 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
38 cd "${srcdir}/${_gitname}-build"
42 cd ${srcdir}/${_gitname}-build
43 python2 setup.py install --root="$pkgdir/" --optimize=1