1 # Contributor: David Ferreira - FZ <davidferreira.fz at gmail.com>
7 pkgdesc="A classic game in the style shoot'up, having as base the thematic of Star Trek."
8 url="http://spaceshooter.dukitan.com/"
9 depends=('sdl' 'sdl_mixer' 'sdl_image' 'sdl_net')
11 source=(http://codigolivre.org.br/frs/download.php/5672/SpaceShooter.1.4.0.bin.linux.tar.gz \
14 md5sums=('b7a1db9f306010040b04afaf86f0a3ea'
15 '8c7129edc947cd2e136d4820595ca5ee'
16 '5e31d7d9fdc41eb7eb4b5b9efdaa6651')
22 chmod -s -R ${startdir}/src/opt/
23 mkdir -p ${pkgdir}/opt/games
24 mv ${startdir}/src/opt/spaceshooter ${pkgdir}/opt/games
27 #Permissoes para salvar
28 chown root:users -R ${pkgdir}/opt/games/${pkgname}
29 chmod 2775 ${pkgdir}/opt/games/${pkgname}
30 chmod 2775 ${pkgdir}/opt/games/${pkgname}/data/etc
31 chmod 2775 ${pkgdir}/opt/games/${pkgname}/data/etc/toprecord.top
32 chmod 2775 ${pkgdir}/opt/games/${pkgname}/data/screen
33 chmod 755 ${pkgdir}/opt/games/${pkgname}/SpaceShooter
37 install -D -m644 ${pkgname}.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
40 install -D -m644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop