diff options
Diffstat (limited to 'x11/ristretto')
-rw-r--r-- | x11/ristretto/APKBUILD | 28 | ||||
l--------- | x11/ristretto/ristretto.post-deinstall | 1 | ||||
-rw-r--r-- | x11/ristretto/ristretto.post-install | 6 | ||||
l--------- | x11/ristretto/ristretto.post-upgrade | 1 |
4 files changed, 36 insertions, 0 deletions
diff --git a/x11/ristretto/APKBUILD b/x11/ristretto/APKBUILD new file mode 100644 index 000000000..5c651efb7 --- /dev/null +++ b/x11/ristretto/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=ristretto +pkgver=0.0.22 +pkgrel=0 +pkgdesc="Ristretto is a image viewer for Xfce" +url="http://goodies.xfce.org/projects/applications/ristretto" +license="GPL-2" +depends="desktop-file-utils hicolor-icon-theme" +makedepends="pkgconfig libxfcegui4-dev dbus-glib-dev libexif-dev intltool + gettext-dev libiconv-dev thunar-dev" +install="ristretto.post-install ristretto.post-upgrade ristretto.post-deinstall" +source="http://goodies.xfce.org/releases/$pkgname/$pkgname-$pkgver.tar.gz + $install" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="978ae19472c5a0b7d4b6622a68234a67 ristretto-0.0.22.tar.gz +9ba052c0be9f3e3ae52ef7d45083efa3 ristretto.post-install +9ba052c0be9f3e3ae52ef7d45083efa3 ristretto.post-upgrade +9ba052c0be9f3e3ae52ef7d45083efa3 ristretto.post-deinstall" diff --git a/x11/ristretto/ristretto.post-deinstall b/x11/ristretto/ristretto.post-deinstall new file mode 120000 index 000000000..545052657 --- /dev/null +++ b/x11/ristretto/ristretto.post-deinstall @@ -0,0 +1 @@ +ristretto.post-install
\ No newline at end of file diff --git a/x11/ristretto/ristretto.post-install b/x11/ristretto/ristretto.post-install new file mode 100644 index 000000000..e3be6863e --- /dev/null +++ b/x11/ristretto/ristretto.post-install @@ -0,0 +1,6 @@ +#!/bin/sh + +update-desktop-database -q +gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + + diff --git a/x11/ristretto/ristretto.post-upgrade b/x11/ristretto/ristretto.post-upgrade new file mode 120000 index 000000000..545052657 --- /dev/null +++ b/x11/ristretto/ristretto.post-upgrade @@ -0,0 +1 @@ +ristretto.post-install
\ No newline at end of file |