updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gav / PKGBUILD
blobae1a7e48857ce6128751d9bc45eb85dfca9f1668
1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
3 # Contributor: eric <eric@archlinux.org>
4 # Contributor: Aurelien Foret <orelien@chez.com>
6 pkgname=gav
7 pkgver=0.9.0
8 pkgrel=2
9 pkgdesc="GPL Arcade Volleyball: an SDL remake of the old dos game Arcade Volleyball"
10 arch=('i686' 'x86_64')
11 url="http://gav.sourceforge.net/"
12 license=('GPL')
13 depends=('sdl_image' 'sdl_net' 'libjpeg' 'libpng' 'zlib' 'gcc')
14 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz 
15         $pkgname.patch
16         $pkgname-gcc43.patch)
17 md5sums=('9cafad031ab15497c4a42f1b79fb3477'
18          '438a7da2b71d1584e6353f4fb09905ce'
19          '3a0609791100c3c3f1613fb8a4b2d62a')
21 build() {
22     cd $srcdir/$pkgname-$pkgver
24     # Fix some incompatibilies
25     patch -Np1 -i $srcdir/$pkgname.patch
26     patch -Np0 -i $srcdir/$pkgname-gcc43.patch
27     
28     # Compile and install
29     make || return 1
30     install -d $pkgdir/usr/{bin,share/gav/themes}
31     make ROOT=$pkgdir install || return 1