1 # Maintainer: evr <evanroman at gmail>
2 pkgname=gray-matter-svn
5 pkgdesc="An xboard compatible chess engine written in C++"
7 url="http://code.google.com/p/gray-matter/"
9 makedepends=(subversion)
10 install=${pkgname}.install
12 _svntrunk=http://gray-matter.googlecode.com/svn/trunk/
18 if [ -d ${_svnmod}/.svn ]; then
19 (cd ${_svnmod} && svn up -r $pkgver)
21 svn co ${_svntrunk} --config-dir ./ -r $pkgver $_svnmod
24 cp -r ${_svnmod} $_svnmod-build
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
32 install -D bin/gray ${pkgdir}/usr/bin/gray || return 1
33 install -D -m644 graymatter.conf.sample ${pkgdir}/usr/share/graymatter/graymatter.conf.sample || return 1
35 rm -rf ${srcdir}/${_svnmod}-build