SUMMARY="A Retro Puzzle/Platform Game"
DESCRIPTION="Giddy 3 is a retro-tastic platform puzzle game!

Featuring bright colourful graphics, smooth scrolling, puzzles, and an egg \
with unfeasibly large hands!

Set across 5 large scrolling levels, you play the part of Giddy, the all-round \
good egg, who has to save the world from aliens, intent on taking over the \
world with giant robot stompers!"
HOMEPAGE="http://www.giddy3.co.uk/"
LICENSE="Freeware"
COPYRIGHT="
	2000 Phil Rouston
	2009-2014 Peter Gordon"
ARCHITECTURES="x86_gcc2"
REVISION="1"

# Sourcecode is not publicly available.
SOURCE_URI="/giddy.zip"
SOURCE_DIR="giddy3"

PROVIDES="
	giddy3 = $portVersion
"

BUILD_REQUIRES="
	devel:libsdl
	devel:libglu
	devel:sdl_mixer
"

BUILD_PREREQUIRES="
	haiku_devel
	cmd:gcc
	cmd:make
"

BUILD()
{
	cd src
	make PLATFORM=haiku
}

INSTALL()
{
	mkdir -p $appsDir/Giddy3
	cp -r giddy3 onion* hats* $appsDir/Giddy3
	addAppDeskbarSymlink $appsDir/Giddy3/giddy3 "Giddy 3"
}
