desktop/gluon/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

47 lines
1.2 KiB
Bash

# Chakra Packages for Chakra, part of chakra-project.org
# Maintainer abveritas@chakra-project.org
pkgname=gluon
pkgver=0.71.0
_pkgver=0.71
pkgrel=8
pkgdesc="A high-level game development library for the KDE desktop enviornment."
arch=('x86_64')
url="http://gluon.gamingfreedom.org/"
license=('GPL')
depends=('glew' 'kdelibs' 'libsndfile' 'openal' 'alure')
makedepends=('git' 'eigen' 'cmake' 'automoc4')
provides=('gluon')
conflicts=('gluon')
groups=("kde-uninstall" "kde-support")
source=("http://download.kde.org/download.php?url=unstable/$pkgname/$_pkgver/src/$pkgname-$pkgver.tar.gz"
"$pkgname-0.71-gcc-4.7.patch::https://projects.kde.org/projects/playground/games/gluon/repository/revisions/bccbda88a6bc53ac20091bb6aefd2f1b501ba31a/diff.diff")
md5sums=('e4f284c0ae00e5b8a58cc3e6201857fe'
'cf8c201b6d289ea63f0458eaefc526b2')
install=gluon.install
build() {
cd "$srcdir/$pkgname-$pkgver"
# Patches.
patch -uNp1 -i $srcdir/$pkgname-0.71-gcc-4.7.patch
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_PHYSICS_COMPONENTS=ON \
-DBUILD_PHYSICS_ASSETS=ON \
..
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/build"
make DESTDIR="$pkgdir/" install
}