updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / gish / PKGBUILD
blobe47baaa0f50f0eea42daee63c0b1a327690d5bc7
1 # Contributor: Artificial Intelligence <polarbeard@gmail.com>
3 pkgname=gish
4 pkgver=1.60
5 pkgrel=1
6 pkgdesc="A one of a kind 2d sidescroller with a twist you play as a totally physics based ball of tar."
7 arch=('i686' 'x86_64')
8 url='http://www.chroniclogic.com/gish.htm'
9 license=('custom: "commercial"')
10 install=gish.install
11 depends=('libvorbis' 'openal' 'sdl' 'gcc-libs' 'sdl_image' 'mesa')
12 source=('gish_1_6.tar.gz' 'Gish.png' 'gish.desktop' 'gish32bit.launcher' 'gish64bit.launcher')
13 md5sums=('946b390177628de07a3316af47b8fd90' 'f3831056f039b0d6867781d21b857993' '86aa2affaaa7076b05b8dc8ca1d64a33' '7d15b8e4f5b5204e6a48854bdf2ca6aa' '180ba20319790fe471f929e8f3905c48')
17 build() {
18     cd $srcdir 
20 # Create Destination Directory
21     install -d $pkgdir/opt/Gish 
23 # Extract Game 
24     bsdtar -xf $srcdir/gish_1_6.tar.gz 
26 # Install the data
27     cp -r $srcdir/gish/* $pkgdir/opt/Gish 
29 # Install Icon
30     install -D -m 644 $srcdir/Gish.png \
31         $pkgdir/usr/share/pixmaps/Gish.png 
33 # Install Launcher
34     install -D -m 644 $srcdir/gish.desktop \
35         $pkgdir/usr/share/applications/gish.desktop 
37 # Install Game Launcher
39 if [ "$CARCH" = "x86_64" ]; then
40         install -D -m 755 $srcdir/gish64bit.launcher \
41         $pkgdir/usr/bin/gish 
43 else
44         install -D -m 755 $srcdir/gish32bit.launcher \
45         $pkgdir/usr/bin/gish 
49 # Set groupship to :games
50     chown -R :games $pkgdir/opt/Gish || return 1
51     chmod -R g+rwX $pkgdir/opt/Gish || return 1