1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="free implementation of the German card game Skat in Java"
7 url="http://www.jskat.de"
10 depends=('java-runtime')
11 makedepends=('apache-ant' 'subversion')
13 md5sums=('9a5f4f028121d878f1bb6caab016e135')
16 _svntrunk=https://jskat.svn.sourceforge.net/svnroot/jskat
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 [[ -d $srcdir/$_svnmod-build ]] && rm -rf "$srcdir/$_svnmod-build"
32 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build/jskat/branches/jansch/jskat"
38 /usr/share/java/apache-ant/bin/ant
39 install -Dm644 JSkat.jar $pkgdir/usr/share/java/$pkgname/JSkat.jar
40 install -Dm755 $srcdir/jskat.sh $pkgdir/usr/bin/jskat