Advertisement
naguz

Gish 1.53 from HIB PKGBUILD

Oct 21st, 2011
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.49 KB | None | 0 0
  1. # Contributor: Artificial Intelligence <polarbeard@gmail.com>
  2.  
  3. pkgname=gish
  4. pkgver=1.53
  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=('gish153-1.tar.gz' 'Gish.png' 'gish.desktop' 'gish32bit.launcher' 'gish64bit.launcher')
  13. md5sums=('b373132f6e78665f1076752b038a8218' 'f3831056f039b0d6867781d21b857993' '86aa2affaaa7076b05b8dc8ca1d64a33' '7d15b8e4f5b5204e6a48854bdf2ca6aa' '180ba20319790fe471f929e8f3905c48')
  14.  
  15.  
  16.  
  17. build() {
  18.     cd $srcdir
  19.  
  20. # Create Destination Directory
  21.     install -d $pkgdir/opt/Gish
  22.  
  23. # Extract Game
  24.     bsdtar -xf $srcdir/gish153-1.tar.gz
  25.  
  26. # Install the data
  27.     cp -r $srcdir/gish153/* $pkgdir/opt/Gish
  28.  
  29. # Install Icon
  30.     install -D -m 644 $srcdir/Gish.png \
  31.         $pkgdir/usr/share/pixmaps/Gish.png
  32.  
  33. # Install Launcher
  34.     install -D -m 644 $srcdir/gish.desktop \
  35.         $pkgdir/usr/share/applications/gish.desktop
  36.  
  37. # Install Game Launcher
  38.  
  39. if [ "$CARCH" = "x86_64" ]; then
  40.         install -D -m 755 $srcdir/gish64bit.launcher \
  41.         $pkgdir/usr/bin/gish
  42.  
  43. else
  44.         install -D -m 755 $srcdir/gish32bit.launcher \
  45.         $pkgdir/usr/bin/gish
  46.  
  47. fi
  48.  
  49. # Set groupship to :games
  50.     chown -R :games $pkgdir/opt/Gish || return 1
  51.     chmod -R g+rwX $pkgdir/opt/Gish || return 1
  52.  
  53.  
  54.  
  55. }
  56.  
  57.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement