#Packager:Richard lapointe <richard@laprjns.com>

pkgname=ristretto
pkgver=0.3.0
pkgrel=1rl
#arch=noarch
source=("http://archive.xfce.org/src/apps/$pkgname/0.3/$pkgname-${pkgver}.tar.bz2")
sourcetemplate=http://people.salixos.org/ylaprjns/$pkgname/$pkgver/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/applications/ristretto
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

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
}