1 # Maintainer: H.Gökhan Sarı <hsa2@difuzyon.net>
2 pkgname=rabbitvcs-nautilus-svn
5 pkgdesc="Nautilus front-end for RabbitVCS."
7 url="http://code.google.com/p/rabbitvcs/"
9 depends=('nautilus>=2.22.0' 'python-nautilus>=0.7.0-2' 'python2-gnomevfs' 'dbus-python>=0.80' 'rabbitvcs-svn')
10 makedepends=('subversion')
11 provides=('rabbitvcs-nautilus')
12 conflicts=('rabbitvcs-nautilus')
13 install=rabbitvcs-nautilus-svn.install
16 md5sums=() #generate with 'makepkg -g'
18 _svntrunk=http://rabbitvcs.googlecode.com/svn/trunk/
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_svnmod-build"
34 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
35 cd "$srcdir/$_svnmod-build/clients/nautilus"
37 mkdir -p "$pkgdir"/usr/lib/nautilus/extensions-2.0/python
38 cp RabbitVCS.py "$pkgdir"/usr/lib/nautilus/extensions-2.0/python