summaryrefslogtreecommitdiff
path: root/extra/apricots/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/apricots/PKGBUILD')
-rw-r--r--extra/apricots/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/extra/apricots/PKGBUILD b/extra/apricots/PKGBUILD
index e0832363a..409e7f7e2 100644
--- a/extra/apricots/PKGBUILD
+++ b/extra/apricots/PKGBUILD
@@ -1,22 +1,27 @@
-# $Id: PKGBUILD 27259 2009-02-18 02:43:34Z eric $
+# $Id: PKGBUILD 137632 2011-09-10 08:59:53Z pierre $
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=apricots
pkgver=0.2.6
-pkgrel=3
+pkgrel=4
pkgdesc="A simple 2D flying/bombing game similar to basic side scrollers"
arch=("i686" "x86_64" 'mips64el')
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')
+depends=('gcc-libs' 'openal' 'sdl' 'freealut')
+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
+ patch -p0 -i $srcdir/apricots-0.2.6-freealut.patch
+ ./configure --prefix=/usr
+ make LIBTOOL='/usr/bin/libtool'
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make prefix=$pkgdir/usr install
}