updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gtkpacman-svn / PKGBUILD
blob6f9a056cb2875d1d08d1867c2768190fbf420aee
1 # Maintainer: oke3 <Sekereg [at] gmx [dot] com>
2 # Contributor: seti <seti4ever@gmail.com>
4 pkgname=gtkpacman-svn
5 pkgver=217
6 pkgrel=1
7 pkgdesc="GTK package manager for archlinux based on pacman (svn version)"
8 url="http://gtkpacman.berlios.de"
9 license=("GPL2")
10 arch=("i686" "x86_64")
11 provides=('gtkpacman')
12 conflicts=('gtkpacman')
13 depends=('pygtk' 'vte')
14 makedepends=('subversion')
16 _svntrunk="http://svn.berlios.de/svnroot/repos/gtkpacman/trunk"
17 _svnmod="gtkpacman"
19 build () {
20     cd "$srcdir"
21     msg "Connecting to SVN server...."
23     if [[ -d "$_svnmod/.svn" ]]; then
24         (cd "$_svnmod" && svn up -r "$pkgver")
25     else
26          svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
27     fi
29     msg "SVN checkout done or server timeout"
30     msg "Starting build..."
32     rm -rf "$srcdir/$_svnmod-build"
33     cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
34     cd "$srcdir/$_svnmod-build"
36     python2 setup.py install --root="$pkgdir"