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

pkgname=zaz
pkgver=1.0.0
pkgrel=1gv
source=("http://downloads.sourceforge.net/project/zaz/zaz-$pkgver.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls")
url=http://zaz.sourceforge.net

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"zaz (Because hackers too need to play with balls)"
"Zaz is a game where the player has to get rid of incoming balls by"
"arranging them in triplets. The idea of the game is loosely based on"
"games like Luxor, Zuma and Puzzle Bobble. The twists that make Zaz"
"stand out from other games of this type are that the balls have to be"
"picked from the path (insted of being randomly assigned for the"
"player) and that the player's 'vehicle' is also attached to a path"
"which is different from level to level."
)


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

	mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps
	(
	cd $startdir/pkg/usr/share/icons/hicolor/48x48/apps
	ln -s ../../../../pixmaps/zaz.xpm zaz.xpm
	)
}