#Maintainer: Markus Muttilainen <stillbornDOTzenwalkATgmailDOTcom>
#Former Maintainer(s): Name <email@address.com>
#Anything commented out is optional and can be deleted.

pkgname=geeqie
pkgver=1.0beta2
pkgrel=1mm
arch=i486
source=(http://downloads.sourceforge.net/sourceforge/geeqie/geeqie-1.0beta2.tar.gz)
#sourcetemplate=http://users.zenwalk.org/user-accounts/pnboy/$pkgname/$pkgver/
docs=("AUTHORS" "COPYING" "ChangeLog" "INSTALL" "NEWS" "README" "README.lirc" "TODO" "html")
url=http://geeqie.sourceforge.net
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"geeqie (a fast image viewer forked from GQview)"
"Geeqie is a sucessor to GQview, which hopes to fix bugs and problems"
"in the original GQview code and continue development that seems to"
"have stopped with GQview"
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make || return 1
	make install DESTDIR=$startdir/pkg
        rm -rf $startdir/pkg/usr/share/doc
        mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps
        cp -v  $startdir/pkg/usr/share/pixmaps/geeqie.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/geeqie.png
}