SUMMARY="A little screensaver which draws confetti on your desktop"
DESCRIPTION="
Konfetti is a small screensaver which draws semi-transparent confetti on your \
desktop."
HOMEPAGE="https://github.com/HaikuArchives/Konfetti/"
COPYRIGHT="2001 Werner Freytag"
LICENSE="MIT"
REVISION="3"
SOURCE_URI="http://github.com/HaikuArchives/Konfetti/archive/b667a6e39bc28300298c66bed6209c5141b04e71.tar.gz"
CHECKSUM_SHA256="e50154a0824a7410ac92607d6bf90748624e4113fbc572f872362d0f127f2c7f"
SOURCE_FILENAME="konfetti-b667a6e39bc28300298c66bed6209c5141b04e71.tar.gz"
SOURCE_DIR="Konfetti-b667a6e39bc28300298c66bed6209c5141b04e71"

ARCHITECTURES="all"

PROVIDES="
	konfetti = $portVersion
	app:Konfetti = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	"

BUILD()
{
	cd src
	make
}

INSTALL()
{
	mkdir -p $addOnsDir/Screen\ Savers
	cd src
	make install INSTALL_DIR=temp
	mv temp/* $addOnsDir/Screen\ Savers
}
