updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / delta3d / PKGBUILD
blob92a86898220c5761f7015c67b5769623daee5b26
1 # Contributor: zoulnix <http://goo.gl/HQaP>
2 pkgname=delta3d
3 pkgver=2.5.0
4 pkgrel=2
5 pkgdesc="Game engine appropriate for a wide variety of modeling & simulation."
6 arch=('i686' 'x86_64')
7 url="http://delta3d.org/"
8 license=('LGPL')
9 depends=('cal3d' 'cegui' 'fltk' 'freealut' 'gdal' 'gnelib-svn' 'ode' \
10          'opendis-cpp' 'openscenegraph' 'plib' 'xerces-c')
11 makedepends=('cmake' 'gcc' 'make' 'pkg-config')
12 options=('!libtool')
13 source=(http://downloads.sourceforge.net/${pkgname}/${pkgver}/dt_${pkgver}_source.zip)
14 md5sums=('67e709303ea0fda62678e48f21ad4907')
16 build() { 
17   cd ${srcdir}/${pkgname}_REL-${pkgver}
19   cmake . -DCMAKE_INSTALL_PREFIX=/usr \
20           -DGNE_LIBRARY=/usr/lib \
21           -DLIB_POSTFIX= \
22           -DBUILD_EXAMPLES=0 \
23           -DBUILD_DEMOS=0 \
24           -DBUILD_WITH_QT=0 || return 1
26   make || return 1
29 package() {
30   cd ${srcdir}/${pkgname}_REL-${pkgver}
32   make DESTDIR=${pkgdir} install || return 1