1. # Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
  2. # Contributor: mosra <mosra@centrum.cz>
  3. # Contributor: Xyne <xyne@archlinux.ca>
  4.  
  5. pkgname=brainparty
  6. pkgver=0.5
  7. pkgrel=4
  8. 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"
  9. arch=('i686' 'x86_64')
  10. url="http://www.tuxradar.com/brainparty"
  11. license=('GPL3')
  12. depends=(sdl_gfx sdl_ttf sdl_mixer sdl_image)
  13. source=(http://www.tuxradar.com/files/brainparty/brainparty0.5.tar.gz
  14. brainparty.sh)
  15. md5sums=('dca5314fd32fa0b0f502eec5846ff5e9'
  16. 'a03b9fe4f52bf059a4318e5977f236cb')
  17.  
  18. build() {
  19.  
  20. cd "$srcdir/$pkgname"
  21.  
  22. make || return 1
  23.  
  24. mkdir -p "$pkgdir/usr/share/brainparty/Content" || return 1
  25. install -D -m 644 Content/* "$pkgdir/usr/share/brainparty/Content/"
  26. install -D -m 755 brainparty "$pkgdir/usr/share/brainparty/"
  27.  
  28. install -T -D -m 755 "$srcdir/brainparty.sh" "$pkgdir/usr/bin/brainparty"
  29. }
  30.  
  31. # vim:set ts=2 sw=2 et: