diff options
Diffstat (limited to 'community/ristretto')
-rw-r--r-- | community/ristretto/PKGBUILD | 32 | ||||
-rw-r--r-- | community/ristretto/ristretto.install | 13 |
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 +} |