diff options
author | root <root@rshg054.dnsready.net> | 2012-04-19 03:30:29 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-19 03:30:29 +0000 |
commit | 85ca6bfccdec6939881572fb1154f1a07d54937c (patch) | |
tree | 4cfc2fb0c28bbc4f2f0314022783e590b29dbcb9 | |
parent | fe675be3a5f22b4397ea55959bb3c47b4c1b8288 (diff) |
Thu Apr 19 03:30:29 UTC 2012
-rw-r--r-- | artistic/aqsis/PKGBUILD | 33 | ||||
-rw-r--r-- | artistic/aqsis/aqsis.install | 14 | ||||
-rw-r--r-- | libre/file-roller-libre/PKGBUILD | 6 | ||||
-rw-r--r-- | libre/file-roller-libre/file-roller.install | 17 |
4 files changed, 54 insertions, 16 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: diff --git a/libre/file-roller-libre/PKGBUILD b/libre/file-roller-libre/PKGBUILD index 024594330..c5c343265 100644 --- a/libre/file-roller-libre/PKGBUILD +++ b/libre/file-roller-libre/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 154606 2012-03-30 12:35:17Z heftig $ +# $Id: PKGBUILD 156381 2012-04-17 20:08:15Z ibiru $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Jan de Groot <jgc@archlinux.org> _pkgname=file-roller pkgname=file-roller-libre -pkgver=3.4.0 +pkgver=3.4.1 pkgrel=1 pkgdesc="Archive manipulator for GNOME" arch=('i686' 'x86_64') @@ -25,7 +25,7 @@ options=('!libtool' '!emptydirs') install=file-roller.install url="http://www.gnome.org" source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz) -sha256sums=('79dfb3bc2e0fb68094180ae1845e4b6c253d5f231e3cf355521193848610c5dc') +sha256sums=('94600d880ce65ab171a174a83519e4911f570fd000c33497b4805100029ebd8b') build() { cd $_pkgname-$pkgver diff --git a/libre/file-roller-libre/file-roller.install b/libre/file-roller-libre/file-roller.install index 10a148241..8b17fa3d4 100644 --- a/libre/file-roller-libre/file-roller.install +++ b/libre/file-roller-libre/file-roller.install @@ -1,22 +1,13 @@ -pkgname=file-roller - post_install() { - glib-compile-schemas usr/share/glib-2.0/schemas + glib-compile-schemas /usr/share/glib-2.0/schemas update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -pre_upgrade() { - if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then - usr/sbin/gconfpkg --uninstall ${pkgname} - fi + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor } post_upgrade() { - post_install $1 + post_install } - post_remove() { - post_install $1 + post_install } |