SUMMARY="A space screensaver"
DESCRIPTION="Space uses real math to give users an awesome, smooth, stellar \
experience, in real perspective."
HOMEPAGE="https://github.com/HaikuArchives/Space"
COPYRIGHT="David Enderso"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="80216ae2e0821d122f447a1671d790e41094ecc7"
SOURCE_URI="https://github.com/HaikuArchives/Space/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="9b432eb68515c4b85bf2d261d49f1840847bb91442fa446edf555493944aa8d3"
SOURCE_FILENAME="Space-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="Space-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	Space = $portVersion
	app:Space = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:make
	"

BUILD()
{
	cd src
	make OBJ_DIR=objects
}

INSTALL()
{
	install -d "$addOnsDir/Screen Savers"
	install -t "$addOnsDir/Screen Savers" src/objects/Space
}
