# Maintainer: Natanael Copa pkgname=ristretto pkgver=0.1.1 pkgrel=0 pkgdesc="Ristretto is a image viewer for Xfce" url="http://goodies.xfce.org/projects/applications/ristretto" arch="all" license="GPL-2" depends="desktop-file-utils hicolor-icon-theme" makedepends="libxfce4ui-dev dbus-glib-dev libexif-dev thunar-dev" install= subpackages="$pkgname-lang" source="http://archive.xfce.org/src/apps/ristretto/0.1/ristretto-$pkgver.tar.bz2 " prepare() { cd "$srcdir"/$pkgname-$pkgver for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-xfce-desktop \ --disable-static || return 1 make } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 } md5sums="4b0f58c00ef99f13ebf134979ee76980 ristretto-0.1.1.tar.bz2"