This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: a guest on Apr 2nd, 2010  |  syntax: Bash  |  size: 0.97 KB  |  views: 180  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Joao Cordeiro <jlcordeiro at gmail dot com>
  2. # Contributor: mosra <mosra@centrum.cz>
  3. pkgname=brainparty
  4. pkgver=0.5
  5. pkgrel=4
  6. pkgdesc="Brain Party is a puzzle game made up of 36 minigames designed to push your brain to its limits by testing memory, logic, mathematics, reaction time and more"
  7. arch=('i686' 'x86_64')
  8. url="http://www.tuxradar.com/brainparty"
  9. license=('GPL3')
  10. depends=(sdl_gfx sdl_ttf sdl_mixer sdl_image)
  11. source=(
  12.     http://www.tuxradar.com/files/brainparty/brainparty0.5.tar.gz
  13.     brainparty.sh
  14. )
  15. md5sums=('dca5314fd32fa0b0f502eec5846ff5e9'
  16.          '5a03729f38ee75afb6cb03eefa1b016a')
  17.  
  18. build() {
  19.  
  20.   cd "$srcdir/$pkgname"
  21.  
  22.   make || return 1
  23.  
  24.   mkdir -p "$pkgdir/usr/local/games/brainparty/Content" || return 1
  25.   install -D -m 644 Content/* "$pkgdir/usr/local/games/brainparty/Content/"
  26.   install -D -m 755 brainparty "$pkgdir/usr/local/games/brainparty/"
  27.  
  28.   install -T -D -m 755 "$srcdir/brainparty.sh" "$pkgdir/usr/bin/brainparty"
  29. }
clone this paste RAW Paste Data