desktop/support-pkg-gluon-git/PKGBUILD

40 lines
1.1 KiB
Bash
Raw Normal View History

2010-05-31 02:58:56 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=gluon
2011-04-26 07:55:36 +08:00
pkgver=0.71.0
_pkgver=0.71
pkgrel=5
2010-05-31 02:58:56 +08:00
pkgdesc="A high-level game development library for the KDE desktop enviornment."
arch=('i686' 'x86_64')
url="http://gluon.gamingfreedom.org/"
license=('GPL')
2011-04-26 07:55:36 +08:00
depends=('glew' 'kdelibs' 'libsndfile' 'openal' 'alure')
2010-05-31 02:58:56 +08:00
makedepends=('git' 'eigen' 'cmake' 'automoc4')
provides=('gluon')
conflicts=('gluon')
2010-06-07 03:00:44 +08:00
groups=("kde-uninstall" "kde-support")
2011-04-26 07:55:36 +08:00
source=("http://download.kde.org/download.php?url=unstable/$pkgname/$_pkgver/src/$pkgname-$pkgver.tar.gz")
md5sums=('e4f284c0ae00e5b8a58cc3e6201857fe')
2010-05-31 02:58:56 +08:00
install=gluon.install
build() {
msg "Starting make..."
2011-04-26 07:55:36 +08:00
cd "$srcdir/$pkgname-$pkgver"
2010-05-31 02:58:56 +08:00
2011-04-26 07:55:36 +08:00
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_PHYSICS_COMPONENTS=ON -DBUILD_PHYSICS_ASSETS=ON ..
2010-05-31 02:58:56 +08:00
make || return 1
make DESTDIR="$pkgdir/" install
}