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

Eric Bélanger eric at nymeria.archlinux.org
Thu Jul 4 19:57:58 UTC 2013


    Date: Thursday, July 4, 2013 @ 21:57:58
  Author: eric
Revision: 189690

upgpkg: foobillard++ 3.42beta-5

Rebuild against libpng (close FS#36023)

Modified:
  foobillard++/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-07-04 19:04:27 UTC (rev 189689)
+++ PKGBUILD	2013-07-04 19:57:58 UTC (rev 189690)
@@ -3,7 +3,7 @@
 
 pkgname=foobillard++
 pkgver=3.42beta
-pkgrel=4
+pkgrel=5
 pkgdesc="An OpenGL billiard game"
 arch=('i686' 'x86_64')
 url="http://foobillardplus.sourceforge.net/"
@@ -14,10 +14,14 @@
 source=(http://downloads.sourceforge.net/foobillardplus/foobillardplus-${pkgver}.tar.gz)
 sha1sums=('51507efab0f595cfff26149003faf669c0a42f32')
 
-build() {
-  cd "${srcdir}/foobillardplus-${pkgver}"
+prepare() {
+  cd foobillardplus-${pkgver}
   sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop
   sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop
+}
+
+build() {
+  cd foobillardplus-${pkgver}
   aclocal --force
   autoconf -f
   autoheader -f
@@ -27,7 +31,7 @@
 }
 
 package() {
-  cd "${srcdir}/foobillardplus-${pkgver}"
+  cd foobillardplus-${pkgver}
   make DESTDIR="${pkgdir}" datadir="${pkgdir}/usr/share/foobillardplus/data" \
     prefix="${pkgdir}/usr/share" install
 




More information about the arch-commits mailing list