#Packager: Frédéric Galusik <fredg~at~salixos~dot~org>

pkgname=jumanji
pkgver=20110921
pkgrel=1fg
#arch=noarch
source=("http://people.salixos.org/fredg/packages/$pkgname/$pkgver/$pkgname-$pkgver.src.tar.gz"
 "jumanji.png"
 "jumanji.desktop")
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver
docs=("readme" "license")
url=http://pwmt.org/projects/jumanji

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"jumanji (a lightweight web browser)"
"jumanji is a highly customizable and functional web browser based on"
"the libwebkit web content engine and the gtk+ toolkit. The idea behind"
"jumanji is a web browser that provides a minimalistic and space saving"
"interface as well as an easy usage that mainly focuses on keyboard"
"interaction like vimperator does."
)


build() {
	cd $startdir/src/$pkgname
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg

	# desktop file & icon
    install -Dm 644  $startdir/src/jumanji.desktop \
        $startdir/pkg/usr/share/applications/jumanji.desktop
    install -Dm 644 $startdir/src/jumanji.png \
		$startdir/pkg/usr/share/icons/hicolor/48x48/apps/jumanji.png
}