updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / aqsis / PKGBUILD
blob798dae5c42101e74c95e9e9c5dba090b6d3d3a38
1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 # Former contributor: Gino Pezzin <pezzin@gmail.com>
3 pkgname=aqsis
4 pkgver=1.6.0
5 pkgrel=5
6 pkgdesc="A high quality, photorealistic, 3D rendering solution"
7 arch=('i686' 'x86_64')
8 url="http://www.aqsis.org"
9 license=('GPL2')
10 depends=('libtiff' 'openexr' 'boost-libs' 'hicolor-icon-theme' 'shared-mime-info')
11 optdepends=('fltk: required for framebuffer rendering')
12 makedepends=('cmake' 'boost' 'libxslt')
13 options=('!libtool')
14 install=aqsis.install
15 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
16         missing_includes.diff)
17 md5sums=('31ca940b7894ba536f107c42e480541d'
18         '88814f68b3641dc1e6382ee14aae5051')
20 build() {
21   cd "$srcdir"/$pkgname-$pkgver
22   patch -Np1 < "$srcdir"/missing_includes.diff || true
24   mkdir -p "$srcdir"/$pkgname-build
25   cd "$srcdir"/$pkgname-build
27   export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
28   cmake "$srcdir"/$pkgname-$pkgver \
29     -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/aqsis
30   make
33 package() {
34   cd "$srcdir"/$pkgname-build
35   make DESTDIR="$pkgdir" install