#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=ristretto
pkgver=0.13.2
_mainver=`echo $pkgver | cut -d'.' -f1,2`
pkgrel=1gv
source=("http://archive.xfce.org/src/apps/$pkgname/${_mainver}/$pkgname-${pkgver}.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/applications/ristretto

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"Ristretto (Xfce picture viewer)"
"Ristretto is a fast and lightweight picture-viewer for the Xfce"
"desktop environment."
)

build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}