SUMMARY="Screensaver drawing neon lines"
DESCRIPTION="NeonLights is a screensaver that draws colorful neon lines. \
It was based loosely on Jared Tarbell's work. Inspired by Atalax's Substrate."
HOMEPAGE="https://github.com/pulkomandy/neonlights"
COPYRIGHT="2017 Adrien Destugues"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://github.com/pulkomandy/neonlights/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="a7a8f7faab4ff56d8677fc64cbb1759c7532f8db7309a467199b0c9b1cac8547"
SOURCE_FILENAME="neonlights-$portVersion.tar.gz"

ARCHITECTURES="all"

PROVIDES="
	neonlights = $portVersion
	addon:NeonLights
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

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