summaryrefslogtreecommitdiff
path: root/community/gluon/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/gluon/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/gluon/PKGBUILD')
-rw-r--r--community/gluon/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/gluon/PKGBUILD b/community/gluon/PKGBUILD
new file mode 100644
index 000000000..3401f6081
--- /dev/null
+++ b/community/gluon/PKGBUILD
@@ -0,0 +1,42 @@
+# $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=5
+pkgdesc="A free and open source platform for creating and distributing games"
+arch=('i686' 'x86_64')
+url="http://gluon.gamingfreedom.org/"
+license=('LGPL')
+depends=('kdelibs' 'libsndfile' 'alure')
+makedepends=('cmake' 'automoc4' 'mesa' 'kdevplatform')
+install=gluon.install
+source=("http://download.kde.org/unstable/$pkgname/$_pkgver/src/$pkgname-$pkgver.tar.gz"
+ 'gcc47.patch')
+md5sums=('e4f284c0ae00e5b8a58cc3e6201857fe'
+ '92adbf8b23f4af2a15a005b031c81c5f')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i "$srcdir"/gcc47.patch
+
+ cd "$srcdir"
+ mkdir build
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -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
+}