1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Christoph Zeiler <rabyteNOSPAM_at_moonblade.dot.org>
3 # Contributor: Xemertix <arch88(at)katamail(dot)com>
8 pkgdesc="A port of Jagged Alliance 2 to SDL"
10 url="http://tron.homeunix.org/ja2/"
12 depends=('gcc-libs' 'sdl')
14 source=('ja2.png' 'ja2.desktop')
17 md5sums=('e793ae54bbe8874efc9205280281454f'
18 '1f438b07138232399a493db93a02cae9')
21 _svntrunk="svn://tron.homeunix.org/ja2/trunk"
27 msg "Connecting to SVN server...."
29 if [ -d ${_svnmod}/.svn ]; then
30 (cd ${_svnmod} && svn up -r $pkgver)
32 svn co ${_svntrunk} --config-dir ./ -r $pkgver ${_svnmod}
35 msg "SVN checkout done or server timeout"
36 msg "Starting make..."
38 svn export ${_svnmod} ${_svnmod}-build
45 PREFIX="$pkgdir"/usr \
46 MANPREFIX="$pkgdir"/usr/share \
50 rm -f "$pkgdir"/usr/share/pixmaps/jagged2.ico
51 rm -f "$pkgdir"/usr/share/applications/ja2-stracciatella.desktop
54 install -Dm644 "SFI Source Code license agreement.txt" \
55 "$pkgdir"/usr/share/licenses/$pkgname/COPYING
58 install -Dm644 ../ja2.png "$pkgdir"/usr/share/pixmaps/ja2.png
59 install -Dm644 ../ja2.desktop "$pkgdir"/usr/share/applications/ja2.desktop