updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / gish-hb / PKGBUILD
blob66ae3bc33fae63bc5fbe94851605ae952776b7e8
1 # Maintainer: Carl Reinke <mindless2112 gmail com>
2 # Contributor: Artificial Intelligence <polarbeard@gmail.com>
4 pkgname=gish-hb
5 pkgver=1.61
6 pkgrel=2
7 pkgdesc="[Humble Bundle] A one of a kind 2d sidescroller with a twist you play as a totally physics based ball of tar."
8 arch=('i686' 'x86_64')
9 url='http://www.chroniclogic.com/gish.htm'
10 license=('custom: "commercial"')
11 install=gish.install
12 depends=('libvorbis' 'openal' 'sdl' 'gcc-libs' 'sdl_image' 'mesa')
13 conflicts=('gish')
14 source=('gish_1.6.1_all.tar.gz'::'file://gish_1.6.1_all.tar.gz'
15         'gish.png'
16         'gish.desktop'
17         'gish32bit.launcher'
18         'gish64bit.launcher')
19 md5sums=('c2c842b0a19353113069db5c8fe8bc07'
20          'f3831056f039b0d6867781d21b857993'
21          'cb2f9c719e432d0d8195860f5831fe0d'
22          'eafe7f167cba997cfccecae6f5ac4956'
23          '303264ff383435c4c8f6843a64c51f62')
24 options=('!strip')
26 build()
28     true
31 package()
33         install -dm775 -ggames $pkgdir/opt/Gish
34         
35         cp -r $srcdir/gish/* $pkgdir/opt/Gish/
36         chown -R :games $pkgdir/opt/Gish/*
37         chmod -R g+rw $pkgdir/opt/Gish/*
38         chmod -R g-w+x $pkgdir/opt/Gish/gish_{32,64}
39         
40         install -Dm644 $srcdir/gish.png     $pkgdir/usr/share/pixmaps/gish.png 
41         install -Dm644 $srcdir/gish.desktop $pkgdir/usr/share/applications/gish.desktop 
42         
43         if [ "$CARCH" = "x86_64" ]; then
44                 install -Dm755 $srcdir/gish64bit.launcher $pkgdir/usr/bin/gish 
45         else
46                 install -Dm755 $srcdir/gish32bit.launcher $pkgdir/usr/bin/gish 
47         fi