updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / titanattacks / PKGBUILD
blob9840de44008d47cce6bd0db9a12801ffe68142bc
1 # Contributor: Artificial Intelligence <polarbeard@gmail.com>
2 # Maintainer: wido <widomaker2k7 [at] gmail [dot] com>
4 pkgname=titanattacks
5 pkgver=1.96
6 pkgrel=2
7 pkgdesc="The gameplay is heavily inspired by Space Invaders with upgradeable ship and weapons."
8 arch=('i686' 'x86_64')
9 url='http://www.puppygames.net/titan-attacks/'
10 license=('custom: "shareware"')
11 install=titanattacks.install
12 depends=('java-runtime' 'openal')
13 ARCH=i386
14 [ "$CARCH" = "x86_64" ] && ARCH=amd64
15 source=("http://downloads.puppygames.net/TitanAttacks-${ARCH}.tar.gz"
16 'titanattacks.desktop'
17 'titanattacks.launcher')
18 md5sums=('975ec8635ac8717265a96a3d6e3c041e'
19          '20694ddc7b4f59a9838f5de7499742de'
20          '209101a8a0c6d985ea30572902c4be55')
23 [ "$CARCH" = "x86_64" ] && md5sums=('62ea2dd4031fdecaec4ecdb3194ea1f2'
24          '20694ddc7b4f59a9838f5de7499742de'
25          '209101a8a0c6d985ea30572902c4be55')
27 package() {
28     cd $srcdir
30 # Create Destination Directory
31     install -d -m 755 $pkgdir/opt/titanattacks
33 # Install the data
34     cp -R ${srcdir}/titanattacks/ ${pkgdir}/opt/
36 # Install Launcher
37     install -D -m 644 $srcdir/titanattacks.desktop \
38         $pkgdir/usr/share/applications/titanattacks.desktop
40 # Install Game Launcher
41     install -D -m 755 $srcdir/titanattacks.launcher \
42         $pkgdir/usr/bin/titanattacks