[arch-commits] Commit in foobillard/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Sun Nov 9 13:41:57 UTC 2008


    Date: Sunday, November 9, 2008 @ 08:41:56
  Author: giovanni
Revision: 18826

Merged revisions 356,7850,18810 via svnmerge from 
svn+ssh://archlinux.org/home/svn-packages/foobillard/trunk

........
  r356 | aaron | 2008-04-18 15:56:27 -0700 (ven, 18 apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r7850 | ronald | 2008-08-04 12:59:48 -0700 (lun, 04 ago 2008) | 1 line
  
  fix license
........
  r18810 | jgc | 2008-11-09 03:08:27 -0800 (dom, 09 nov 2008) | 1 line
  
  upgpkg: foobillard 3.0a-3
........

Modified:
  foobillard/repos/extra-x86_64/	(properties)
  foobillard/repos/extra-x86_64/PKGBUILD

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


Property changes on: foobillard/repos/extra-x86_64
___________________________________________________________________
Name: svnmerge-integrated
   - /foobillard/trunk:1
   + /foobillard/trunk:1-18825

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2008-11-09 13:27:21 UTC (rev 18825)
+++ extra-x86_64/PKGBUILD	2008-11-09 13:41:56 UTC (rev 18826)
@@ -4,19 +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