1 # Contributor: Giedrius Slavinskas <giedrius25@gmail.com>
6 pkgdesc="A GTK+ based diagramming widget written in Python"
8 url="http://wiki.github.com/amolenaar/gaphas"
10 depends=('pygtk' 'python-decorator>=3.0.0')
11 makedepends=('setuptools>=0.6c5' 'python-nose>=0.10.4')
14 provides=('gaphas' 'gaphas-git')
18 _gitroot="git://github.com/amolenaar/gaphas.git"
22 msg "Connecting to github.com GIT server...."
24 if [ -d $startdir/src/$_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
36 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
37 cd $startdir/src/$_gitname-build
39 python setup.py install --root=${pkgdir} --prefix=/usr || return 1