1 # Maintainer: Gadget3000 <Gadget3000@man.com>
2 pkgname=marbleblastgolddemo
5 pkgdesc="A 3D arcade action marble racing game demo."
7 url="http://www.torquepowered.com/products/marbleblastgold"
9 if [ "$CARCH" = "x86_64" ]; then
10 depends=('lib32-libvorbis' 'lib32-sdl')
11 optdepends=('lib32-alsa-oss: Sound support')
13 depends=('libvorbis' 'sdl')
14 optdepends=('alsa-oss: Sound support')
16 source=(http://demos.torquepowered.com/marbleblastgold/MarbleBlastGoldDemo-$pkgver.sh.bin)
17 md5sums=('556c7b1c051277ef8e9c0e1cc281d070')
18 install=(marbleblastgolddemo.install)
22 chmod +x MarbleBlastGoldDemo-$pkgver.sh.bin
23 ./MarbleBlastGoldDemo-$pkgver.sh.bin --tar xvf -C $srcdir
24 mkdir -p $pkgdir/opt/marbleblastgolddemo
25 tar xvf MarbleBlast.tar.gz -C $pkgdir/opt/marbleblastgolddemo
26 chown -Rh root:root ${pkgdir}/opt/marbleblastgolddemo
27 rm -rf ${pkgdir}/opt/marbleblastgolddemo/lib
28 mkdir -p $pkgdir/usr/bin
29 ln -s /opt/marbleblastgolddemo/marbleblastgolddemo $pkgdir/usr/bin/marbleblastgolddemo
30 install -D -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"