1 # Contributor: Artificial Intelligence <polarbeard@gmail.com>
6 pkgdesc="Little Space Duo is a classic, puzzle-based arcade game starring an unusual pair of heroes - a little girl and a small robot. Join them on a mission through the spaceship and help them to overcome all the challenges and hazards they will encounter on the way."
8 url='http://www.jugilus.com/'
9 license=('custom: "commercial"')
10 install=littlespaceduo.install
11 if [ "$CARCH" = "x86_64" ]; then
12 depends=('lib32-freetype2' 'lib32-libxxf86vm' 'lib32-mesa' 'lib32-libxrandr' 'lib32-gcc-libs')
14 depends=('freetype2' 'libxxf86vm' 'mesa' 'libxrandr' 'gcc-libs')
16 source=('LittleSpaceDuo.tar.gz' 'LittleSpaceDuo.png' 'LittleSpaceDuo.desktop' 'littlespaceduo.launcher')
17 md5sums=('de99d35bf2eed69c9576df2dddfe9cd7' '5bbd2a467dca7dc2f8c2689b1752a700' '1732ecff6e41bb515947709bd21cc97f' 'be4698d8386626b730d7687d68417fdf')
20 cd $srcdir || return 1
22 # Create Destination Directory
23 install -d -m 755 $pkgdir/opt/LittleSpaceDuo || return 1
26 bsdtar -xf $srcdir/LittleSpaceDuo.tar.gz || return 1
29 cp -r $srcdir/LittleSpaceDuo/* $pkgdir/opt/LittleSpaceDuo || return 1
32 install -D -m 644 $srcdir/LittleSpaceDuo.png \
33 $pkgdir/usr/share/pixmaps/LittleSpaceDuo.png || return 1
36 install -D -m 644 $srcdir/LittleSpaceDuo.desktop \
37 $pkgdir/usr/share/applications/LittleSpaceDuo.desktop || return 1
39 # Install Game Launcher
40 install -D -m 755 $srcdir/littlespaceduo.launcher \
41 $pkgdir/usr/bin/littlespaceduo || return 1
44 # Set groupship to :games
45 chown -R :games $pkgdir/opt/LittleSpaceDuo || return 1
46 chmod -R g+rwX $pkgdir/opt/LittleSpaceDuo || return 1