summaryrefslogtreecommitdiff
path: root/extra/foobillard++
diff options
context:
space:
mode:
Diffstat (limited to 'extra/foobillard++')
-rw-r--r--extra/foobillard++/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/foobillard++/PKGBUILD b/extra/foobillard++/PKGBUILD
index 13dcd633e..d68c20d2b 100644
--- a/extra/foobillard++/PKGBUILD
+++ b/extra/foobillard++/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 168755 2012-10-15 17:52:10Z eric $
+# $Id: PKGBUILD 189691 2013-07-04 19:58:40Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
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 @@ replaces=('foobillard')
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 @@ build() {
}
package() {
- cd "${srcdir}/foobillardplus-${pkgver}"
+ cd foobillardplus-${pkgver}
make DESTDIR="${pkgdir}" datadir="${pkgdir}/usr/share/foobillardplus/data" \
prefix="${pkgdir}/usr/share" install