updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / brainparty / PKGBUILD
blobfdcfa705a2bd32796a4e277c39aca89c0e3f1f23
1 # Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
2 # Contributor: mosra <mosra@centrum.cz>
3 # Contributor: Xyne <xyne@archlinux.ca>
4 pkgname=brainparty
5 pkgver=0.5
6 pkgrel=5
7 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"
8 arch=('i686' 'x86_64')
9 url="http://www.tuxradar.com/brainparty"
10 license=('GPL3')
11 depends=(sdl_gfx sdl_ttf sdl_mixer sdl_image)
12 source=(http://www.tuxradar.com/files/brainparty/brainparty0.5.tar.gz
13         brainparty.sh)
14 md5sums=('dca5314fd32fa0b0f502eec5846ff5e9'
15          '5832e93f4b3ae78cec1be8cb4d777cf3')
17 build() {
19   cd "$srcdir/$pkgname"
21   make || return 1
23   _dest_dir=$pkgdir/usr/share/games/brainparty/
25   mkdir -p "$_dest_dir/Content" || return 1
26   chown -R :games $_dest_dir
27   chmod -R g+rw $_dest_dir
29   install -D -m 644 Content/* "$_dest_dir/Content/"
30   install -D -m 755 brainparty "$_dest_dir"
32   install -T -D -m 755 "$srcdir/brainparty.sh" "$pkgdir/usr/bin/brainparty"
35 # vim:set ts=2 sw=2 et: