summaryrefslogtreecommitdiff
path: root/community/ristretto
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-06 00:01:33 +0000
committerroot <root@rshg054.dnsready.net>2012-03-06 00:01:33 +0000
commitb8afacf1f28ac27321feb9b92bd50dd8961b7736 (patch)
treede441882aca38091a1e438e1d8da8a9af3bd023a /community/ristretto
parent11711de1942a141f28faef695c4c78c8357fbf23 (diff)
Tue Mar 6 00:01:33 UTC 2012
Diffstat (limited to 'community/ristretto')
-rw-r--r--community/ristretto/PKGBUILD32
-rw-r--r--community/ristretto/ristretto.install13
2 files changed, 45 insertions, 0 deletions
diff --git a/community/ristretto/PKGBUILD b/community/ristretto/PKGBUILD
new file mode 100644
index 000000000..ce3d74f98
--- /dev/null
+++ b/community/ristretto/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 67146 2012-03-05 00:06:06Z pschmitz $
+# Maintainer:
+# Contributor: AndyRTR <andyrtr@archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=ristretto
+pkgver=0.3.4
+pkgrel=1
+pkgdesc="A fast and lightweight picture-viewer for Xfce"
+arch=('i686' 'x86_64')
+url="http://goodies.xfce.org/projects/applications/ristretto"
+license=('GPL')
+depends=('libxfce4ui' 'libexif' 'exo' 'desktop-file-utils')
+makedepends=('intltool')
+groups=('xfce4-goodies')
+install=ristretto.install
+source=("http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2")
+sha1sums=('7da6c287c45949193fd6046e82a099fd0469278c')
+
+build() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/ristretto/ristretto.install b/community/ristretto/ristretto.install
new file mode 100644
index 000000000..75e2b7b55
--- /dev/null
+++ b/community/ristretto/ristretto.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}