1 # Contributor: crazyb0y <bjin1990 at gmail dot com>
2 # Maintainer: SanskritFritz (gmail)
4 pkgname=sgt-puzzles-svn
7 pkgdesc="Simon Tatham's Portable Puzzle Collection"
9 url="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
11 makedepends=('make' 'gcc' 'subversion' 'perl')
12 depends=('gtk2' 'cairo')
16 _svntrunk=svn://svn.tartarus.org/sgt/puzzles
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk -r $pkgver $_svnmod
26 msg "SVN checkout done"
27 msg "Starting make..."
30 make prefix=/usr || return 1
31 mkdir -p $pkgdir/usr/bin
32 make prefix=/usr gamesdir=/usr/bin DESTDIR=$pkgdir install
38 install -D -m644 LICENCE $pkgdir/usr/share/licenses/$pkgname/COPYING