1 # Maintainer: Valere Monseur <valere dot monseur at ymail dot com>
2 # Contributor: Alexander Fehr <pizzapunk gmail com>
7 pkgdesc="Graphical version of su written in C and GTK+"
9 url="http://ktsuss.googlecode.com/svn/trunk/"
12 makedepends=('subversion')
14 _svntrunk=http://ktsuss.googlecode.com/svn/trunk/
20 if [ -d "$_svnmod/.svn" ]; then
21 (cd "$_svnmod" && svn up)
23 svn co "$_svntrunk" --config-dir ./ "$_svnmod"
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
31 # upstream package not ready yet
32 if [ ! -x ./configure ]; then
36 ./configure --prefix=/usr --libexecdir=/usr/lib/ktsuss
43 make DESTDIR="$pkgdir" install
44 install -D -m644 COPYING "$pkgdir/usr/share/licenses/ktsuss/COPYING"