blob: 12d20a320bcbcd254546707bd971272125681bdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $Id: PKGBUILD 72719 2012-06-21 07:09:44Z 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
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
make
}
package() {
cd "$srcdir"/build
make DESTDIR="$pkgdir" install
}
|