1 # Maintainer: Gen2ly <toddrpartridge@gmail.com>
3 pkgname=kreiselball-demo
7 pkgdesc="Control a ball by turning the world in a classic game play"
9 url="http://kreiselball.com/"
11 depends=('sdl' 'sdl_mixer')
13 source=(http://kreiselball.com/files/KreiselBall-1.0.1-EN-Demo.zip
14 kreiselball-demo.desktop
16 md5sums=('4d5b981e656d0f5741abd80df5227750'
17 '05fd64c7bd36b07c4d7c410e415abc10'
18 '91a1ea28435eced8d66d16b7ce96d2e5')
23 cd $srcdir || return 1
24 bsdtar -x -f $_pkgname-$pkgver-EN-Demo.zip || return 1
25 bsdtar -x -f $_pkgname-$pkgver-EN-Demo/Linux/$_pkgname-$pkgver-Demo.tar.gz || return 1
27 # Create pkgdir folders
28 install -d $pkgdir/usr/bin
29 install -d $pkgdir/usr/share/{applications,games/kreiselball-demo,icons}
30 install -d $pkgdir/usr/share/licenses/$pkgname
33 cd $_pkgname-$pkgver-Demo/
36 cp -r * $pkgdir/usr/share/games/$pkgname/
39 install -Dm755 $startdir/$pkgname $pkgdir/usr/bin/
42 install -Dm644 data/images/player.png $pkgdir/usr/share/icons/$pkgname.png
43 install -Dm644 $startdir/$pkgname.desktop $pkgdir/usr/share/applications/