SUMMARY="Action loaded 2D shooter"
DESCRIPTION="Action loaded 2D shooter. Your mission is simple: stop the \
invasion of the aliens and blast them!"
HOMEPAGE="http://www.schwardtnet.de/alienblaster"
LICENSE="GNU GPL v2"
COPYRIGHT="2004 Paul Grathwol, Arne Hormann, Daniel Kuhn, Sonke Schwardt"
SOURCE_URI="http://www.schwardtnet.de/alienblaster/archives/alienblaster-1.1.0.tgz"
CHECKSUM_SHA256="c4081548c05acdd92df4d721c556f6f2c18a60e2bf5c513cb18690ad9d769980"
REVISION="1"
SOURCE_DIR="alienblaster"

PATCHES="alienblaster-1.1.0.patch"

ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"

PROVIDES="
	alienBlaster = $portVersion
	cmd:alienBlaster = $portVersion
	"

REQUIRES="
	haiku
	lib:libsdl
	lib:libsdl_mixer
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libsdl
	devel:libsdl_mixer
	"

BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	cmd:touch
	"

BUILD()
{
	make $jobArgs
}

INSTALL()
{
	mkdir -p $appsDir/AlienBlaster
	cp -af alienBlaster $appsDir/AlienBlaster
	cp -af sound  $appsDir/AlienBlaster
	cp -af images  $appsDir/AlienBlaster
	cp -af cfg  $appsDir/AlienBlaster
	addAppDeskbarSymlink $appsDir/AlienBlaster/alienBlaster AlienBlaster	
}
