# $Id: PKGBUILD 27264 2009-02-18 03:07:20Z eric $ # Contributor: Damir Perisa pkgname=apricots pkgver=0.2.6 pkgrel=3 pkgdesc="A simple 2D flying/bombing game similar to basic side scrollers" arch=("i686" "x86_64") license=('GPL') url="http://www.fishies.org.uk/apricots.html" depends=('gcc-libs' 'openal>=1.6.372' 'sdl' 'freealut>=1.1.0') source=("http://www.fishies.org.uk/$pkgname-$pkgver.tar.gz" \ "apricots-0.2.6-freealut.patch") md5sums=('910828d717e46d8cbd9c24f702d09fbc' '5f9f74082dfe162ab3ba51f6ec628f99') build() { cd $srcdir/$pkgname-$pkgver patch -Np0 -i $startdir/src/apricots-0.2.6-freealut.patch || return 1 ./configure --prefix=/usr || return 1 make || return 1 make prefix=$pkgdir/usr install || return 1 }