1 # Contributor: Tocer Deng <tocer.deng@gmail.com>
5 pkgdesc="another Chinese chess game coded by Alf"
7 url="http://code.google.com/p/acnchess/"
9 depends=('gtk2>=2.6.0')
14 _svntrunk="http://acnchess.googlecode.com/svn/trunk/"
18 msg "Getting source..."
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn --config-dir ../ up -r $pkgver)
22 svn --config-dir ./ co $_svntrunk -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
26 msg "Creating make environment..."
27 rm -rf $srcdir/$_svnmod-build
28 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
29 cd $srcdir/$_svnmod-build
31 msg "Starting make..."
34 ./configure --prefix=/usr
36 make DESTDIR="$pkgdir/" install
39 # vim:set ts=2 sw=2 et: