1 # Maintainer: Jozef Riha <jose1711 at gmail dot com>
6 pkgdesc="Galcon Fusion is a high-paced multi-player galactic arcade-strategy game (demo)"
8 url="http://www.galcon.com/fusion/"
9 license=('custom:free_demo')
10 makedepends=('imagemagick' 'mesa')
12 source=("http://www.galcon.com/fusion/files/gfusion.tgz" "gfusion-demo.desktop")
13 md5sums=('ad7781d4eadd9612a5fb6f026073e126'
14 'fb11aeb07b3ef6e26edba60ba0ec0eaf')
21 mkdir -p ${pkgdir}/usr/{bin,share/gfusion-demo/{data,bin}}
23 install -D -m644 bin/libIrrKlang.so ${pkgdir}/usr/share/gfusion-demo/bin/libIrrKlang.so
24 install -D -m755 bin/sdlapp ${pkgdir}/usr/share/gfusion-demo/bin/sdlapp
25 install -D -m644 data/* ${pkgdir}/usr/share/gfusion-demo/data/
27 cd /usr/share/gfusion-demo/bin
28 ./sdlapp \"\$@\"") > $pkgdir/usr/bin/gfusion-demo
29 chmod 755 $pkgdir/usr/bin/gfusion-demo
30 install -D -m644 $srcdir/gfusion-demo.desktop $pkgdir/usr/share/applications/gfusion-demo.desktop || return 1
31 convert data/icon32.bmp data/icon32.png
32 install -D -m644 data/icon32.png $pkgdir/usr/share/pixmaps/gfusion-demo.png || return 1