updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rabbitvcs-nautilus-svn / PKGBUILD
blob5dee55c81fb6f9a7f1779fc0e2c059a20f5ec052
1 # Maintainer: H.Gökhan Sarı <hsa2@difuzyon.net>
2 pkgname=rabbitvcs-nautilus-svn
3 pkgver=2953
4 pkgrel=1
5 pkgdesc="Nautilus front-end for RabbitVCS."
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/rabbitvcs/"
8 license=('GPL')
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
14 source=()
15 noextract=()
16 md5sums=() #generate with 'makepkg -g'
18 _svntrunk=http://rabbitvcs.googlecode.com/svn/trunk/
19 _svnmod=rabbitvcs
21 build() {
22   cd "$srcdir"
24   if [ -d $_svnmod/.svn ]; then
25     (cd $_svnmod && svn up -r $pkgver)
26   else
27     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28   fi
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