diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
commit | 8185891e28635bdb83fdf4ba4391030912dae596 (patch) | |
tree | 66a946535bdd228514750233b2cc99dd1866ff64 /pcr/aqsis | |
parent | 60a11f87366fdfbd114cdc91ff813518858e5f8d (diff) |
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/aqsis')
-rw-r--r-- | pcr/aqsis/PKGBUILD | 58 | ||||
-rw-r--r-- | pcr/aqsis/aqsis.install | 14 |
2 files changed, 72 insertions, 0 deletions
diff --git a/pcr/aqsis/PKGBUILD b/pcr/aqsis/PKGBUILD new file mode 100644 index 000000000..89998fc84 --- /dev/null +++ b/pcr/aqsis/PKGBUILD @@ -0,0 +1,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=3 +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=1.53.0' + 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: + 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: |