summaryrefslogtreecommitdiff
path: root/community/gluon
diff options
context:
space:
mode:
Diffstat (limited to 'community/gluon')
-rw-r--r--community/gluon/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/gluon/PKGBUILD b/community/gluon/PKGBUILD
index 12d20a320..3401f6081 100644
--- a/community/gluon/PKGBUILD
+++ b/community/gluon/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 72719 2012-06-21 07:09:44Z andrea $
+# $Id: PKGBUILD 85350 2013-03-01 10:31:40Z andrea $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>
pkgname=gluon
pkgver=0.71.0
_pkgver=0.71
-pkgrel=4
+pkgrel=5
pkgdesc="A free and open source platform for creating and distributing games"
arch=('i686' 'x86_64')
url="http://gluon.gamingfreedom.org/"
@@ -27,11 +27,16 @@ build() {
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON
make
}
package() {
cd "$srcdir"/build
make DESTDIR="$pkgdir" install
+
+ if [[ "$CARCH" == "x86_64" ]]; then
+ mv "${pkgdir}"/usr/lib64 "${pkgdir}"/usr/lib
+ fi
}