diff options
Diffstat (limited to 'pcr/aqsis')
-rw-r--r-- | pcr/aqsis/PKGBUILD | 33 | ||||
-rw-r--r-- | pcr/aqsis/aqsis.install | 14 |
2 files changed, 47 insertions, 0 deletions
diff --git a/pcr/aqsis/PKGBUILD b/pcr/aqsis/PKGBUILD new file mode 100644 index 000000000..5a772503f --- /dev/null +++ b/pcr/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@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 +} diff --git a/pcr/aqsis/aqsis.install b/pcr/aqsis/aqsis.install new file mode 100644 index 000000000..b2086e07b --- /dev/null +++ b/pcr/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: |