From 7584562f4a10bc697cd236b243eedd1943291e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Thu, 21 Feb 2013 17:53:57 -0200 Subject: migrating all artistic pkg repo to pcr: * migrating aqsis, cinepaint-lts, gimp-art, libspnav, spacenavd, spnavcfg and yafaray-git to prc repo. --- pcr/aqsis/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ pcr/aqsis/aqsis.install | 14 ++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 pcr/aqsis/PKGBUILD create mode 100644 pcr/aqsis/aqsis.install (limited to 'pcr/aqsis') 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 +# Former contributor: Gino Pezzin +# Maintainer (Parabola): Márcio Silva +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: -- cgit v1.2.3-2-g168b