summaryrefslogtreecommitdiff
path: root/artistic
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-19 03:30:29 +0000
committerroot <root@rshg054.dnsready.net>2012-04-19 03:30:29 +0000
commit85ca6bfccdec6939881572fb1154f1a07d54937c (patch)
tree4cfc2fb0c28bbc4f2f0314022783e590b29dbcb9 /artistic
parentfe675be3a5f22b4397ea55959bb3c47b4c1b8288 (diff)
Thu Apr 19 03:30:29 UTC 2012
Diffstat (limited to 'artistic')
-rw-r--r--artistic/aqsis/PKGBUILD33
-rw-r--r--artistic/aqsis/aqsis.install14
2 files changed, 47 insertions, 0 deletions
diff --git a/artistic/aqsis/PKGBUILD b/artistic/aqsis/PKGBUILD
new file mode 100644
index 000000000..ed04e585e
--- /dev/null
+++ b/artistic/aqsis/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+# Former contributor: Gino Pezzin <pezzin@gmail.com>
+# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy>
+pkgname=aqsis
+pkgver=1.8.1
+pkgrel=1
+pkgdesc="A high quality, photorealistic, 3D rendering solution"
+arch=('i686' 'x86_64')
+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/aqsis/aqsis-source/1.8.1/$pkgname-$pkgver.tar.gz)
+md5sums=('1fb9b07c6d3c5195ad72e308fb584598')
+
+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
+}
diff --git a/artistic/aqsis/aqsis.install b/artistic/aqsis/aqsis.install
new file mode 100644
index 000000000..b2086e07b
--- /dev/null
+++ b/artistic/aqsis/aqsis.install
@@ -0,0 +1,14 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor/
+ update-mime-database usr/share/mime > /dev/null
+ update-desktop-database -q
+}
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et: