#Maintainer: Thorsten Muehlfelder <thenktor(at)gmx.de>

pkgname=viewnior
pkgver=1.1
pkgrel=1gv
source=("http://cloud.github.com/downloads/xsisqox/Viewnior/viewnior-$pkgver.tar.gz")
url="http://xsisqox.github.com/Viewnior/index.html"
docs=('AUTHORS' 'COPYING' 'ChangeLog' 'NEWS' 'README' 'TODO')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (image viewer)"
"This is Viewnior, an image viewer program. Created to be simple, fast"
"and elegant. It's minimalistic interface provides more screenspace for"
"your images."
)

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