summaryrefslogtreecommitdiff
path: root/community/gluon/PKGBUILD
blob: 6668ed55eacebe55ba573d2eb0160a42b00dbe58 (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
# $Id: PKGBUILD 61254 2011-12-26 12:01:45Z 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=3
pkgdesc="A free and open source platform for creating and distributing games"
arch=('i686' 'x86_64' 'mips64el')
url="http://gluon.gamingfreedom.org/"
license=('LGPL')
depends=('qt' 'kdebase-runtime' 'libsndfile' 'openal' 'alure' 'attica')
makedepends=('cmake' 'automoc4' 'mesa' 'kdevplatform')
install=gluon.install
source=("http://download.kde.org/download.php?url=unstable/$pkgname/$_pkgver/src/$pkgname-$pkgver.tar.gz")
md5sums=('e4f284c0ae00e5b8a58cc3e6201857fe')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  [[ -d build ]] && rm -rf build
  mkdir build && cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  cd build
  make DESTDIR="$pkgdir/" install
}