1 # Maintainer: H.Gökhan Sarı <hsa2@difuzyon.net>
5 pkgdesc="RabbitVCS is a set of graphical tools written to provide simple and straightforward access to the version control systems you use."
7 url="http://code.google.com/p/rabbitvcs/"
10 depends=('pygtk>=2.12' 'pygobject>=2.14' 'python-configobj>=4.4.0' 'pysvn-py2>=1.5.2' 'subversion>=1.4.6' 'git' 'python-dulwich>=0.6.0' 'meld' 'python-simplejson')
11 makedepends=('subversion')
12 provides=('rabbitvcs')
13 conflicts=('rabbitvcs')
14 install=rabbitvcs-svn.install
17 md5sums=() #generate with 'makepkg -g'
19 _svntrunk=http://rabbitvcs.googlecode.com/svn/trunk/
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_svnmod-build"
35 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
36 cd "$srcdir/$_svnmod-build"
41 sed -i "s#env python#env python2#" setup.py
42 find . -name "*.py" | xargs grep -l sys.executable | xargs sed -i 's|sys\.executable|"/usr/bin/python2"|g'
43 python2 setup.py install --root=$pkgdir