summaryrefslogtreecommitdiff
path: root/artistic/aqsis/PKGBUILD
blob: 5a772503f387188eb008421686bdd76607d8918e (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
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Former contributor: Gino Pezzin <pezzin@gmail.com>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=aqsis
pkgver=1.8.2
pkgrel=1
pkgdesc="A high quality, photorealistic, 3D rendering solution"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.aqsis.org"
license=('GPL2')
optdepends=('qt: graphical interface' 'libgl: ptview')
depends=('boost-libs' 'openexr' 'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils')
makedepends=('cmake' 'boost' 'openexr' 'libpng' 'qt' 'mesa')
options=('!libtool')
install=aqsis.install
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgver/$pkgname-$pkgver.tar.gz)
md5sums=('399967e99f12cfbd1a7385c4e1d39c3b')

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

  mkdir -p "$srcdir"/$pkgname-build
  cd "$srcdir"/$pkgname-build

  cmake "$srcdir"/$pkgname-$pkgver \
    -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/aqsis
  make
}

package() {
  cd "$srcdir"/$pkgname-build
  make DESTDIR="$pkgdir" install
}