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

Jan de Groot jgc at archlinux.org
Sun Nov 9 11:08:27 UTC 2008


    Date: Sunday, November 9, 2008 @ 06:08:27
  Author: jgc
Revision: 18810

upgpkg: foobillard 3.0a-3

Modified:
  foobillard/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-09 11:02:45 UTC (rev 18809)
+++ PKGBUILD	2008-11-09 11:08:27 UTC (rev 18810)
@@ -4,20 +4,20 @@
 
 pkgname=foobillard
 pkgver=3.0a
-pkgrel=2
+pkgrel=3
 pkgdesc="An OpenGL billiard game for Linux"
-arch=(i686 x86_64)
-depends=(sdl freetype2 glibc libpng)
+arch=('i686' 'x86_64')
+depends=('sdl' 'freetype2' 'libpng' 'libxaw' 'mesa' 'libxi')
 url="http://foobillard.sunsite.dk/"
 source=(http://foobillard.sunsite.dk/dnl/$pkgname-$pkgver.tar.gz)
 license=('GPL2')
 md5sums=('c2d92edeaaf8bfb18aa26f1c79931b7d')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr || return 1
   # fix startup bug in youregon.ttf and freetype2
-  sed -i -e 's/youregon.ttf/bluebold.ttf/g' src/options.h
+  sed -i -e 's/youregon.ttf/bluebold.ttf/g' src/options.h || return 1
   make || return 1
-  make prefix=$startdir/pkg/usr install
+  make DESTDIR="${pkgdir}" install || return 1
 }




More information about the arch-commits mailing list