[arch-commits] Commit in apricots/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Sep 10 08:58:53 UTC 2011


    Date: Saturday, September 10, 2011 @ 04:58:53
  Author: pierre
Revision: 137631

upgpkg: apricots 0.2.6-4

rebuild old package

Modified:
  apricots/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-10 08:40:20 UTC (rev 137630)
+++ PKGBUILD	2011-09-10 08:58:53 UTC (rev 137631)
@@ -3,20 +3,25 @@
 
 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")
 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
+}




More information about the arch-commits mailing list