1 # Contributor: Steven She <mintcoffee@gmail.com>
2 pkgname=superswitcher-svn
5 pkgdesc="A more featureful replacement of the Alt-Tab window switching behavior.\
6 This will checkout and package the latest SVN version."
9 url="http://code.google.com/p/superswitcher/"
10 depends=('gconf' 'libwnck')
11 makedepends=('automake' 'autoconf' 'intltool' 'subversion')
12 provides=('superswitcher')
15 _svntrunk=http://superswitcher.googlecode.com/svn/trunk/
16 _svnmod=superswitcher-read-only
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 cp -r $_svnmod $_svnmod-build
33 ./autogen.sh --prefix=/usr
35 make prefix=$startdir/pkg/usr install
37 rm -rf $startdir/src/$_svnmod-build