summaryrefslogtreecommitdiff
path: root/pcr/aqsis/PKGBUILD
blob: 706a0c042863116624d16982875ea0db868e8142 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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=2
pkgdesc='A high quality, photorealistic, 3D rendering solution'
arch=(
  i686
  x86_64
  mips64el
)
url="http://www.$pkgname.org"
license=GPL2
optdepends=(
  'qt4: graphical interface'
  'mesa-libgl: ptview'
)
depends=(
  boost-libs
  desktop-file-utils
  hicolor-icon-theme
  openexr
  shared-mime-info
)
makedepends=(
  boost
  cmake
  libpng
  mesa
  qt4
)
options=(
  '!libtool'
)
install=$pkgname.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

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

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

# vim:set ts=2 sw=2 et: