1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Christoph Zeiler <rabyteNOSPAM_at_moonblade.dot.org>
7 pkgdesc="A port of Jagged Alliance 2 to SDL"
9 url="http://tron.homeunix.org/ja2/"
11 depends=('gcc-libs' 'sdl')
12 install=$pkgname.install
13 source=(http://tron.homeunix.org/$pkgname/$pkgname-$pkgver-source.tar.bz2
15 md5sums=('3981a84850957362fddb0b0e90c231b8'
16 'e793ae54bbe8874efc9205280281454f')
19 cd "$srcdir"/$pkgname-$pkgver
21 # fix icon in the .desktop file
22 sed -i "s/jagged2\.ico/$pkgname/" $pkgname-stracciatella.desktop
28 PREFIX="$pkgdir"/usr \
29 MANPREFIX="$pkgdir"/usr/share \
33 rm -f "$pkgdir"/usr/share/pixmaps/jagged2.ico
36 install -Dm644 "SFI Source Code license agreement.txt" \
37 "$pkgdir"/usr/share/licenses/$pkgname/COPYING
40 install -Dm644 ../$pkgname.png "$pkgdir"/usr/share/pixmaps/$pkgname.png