SUMMARY="Haki Decorators Pack for Haiku"
DESCRIPTION="A pack of window decoratos for Haiku"
HOMEPAGE="https://github.com/s40in/HakiDecors"
COPYRIGHT="2019, Sergei Sorokin (s40in)"
LICENSE="MIT"
REVISION="1"
srcGitRev="290228822f622207c5d53907adf94e4ca435f357"
SOURCE_URI="https://github.com/s40in/HakiDecors/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="dac8d095f74ce5072e95704e201fc3cba9726769c25b1ef6404fa59b90ab5058"
SOURCE_FILENAME="HakiDecors-$srcGitRev.tar.gz"
SOURCE_DIR="HakiDecors-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	hakidecors = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	haiku_source
	devel:libfreetype
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:find
	cmd:gcc
	cmd:make
	"

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $addOnsDir/decorators
	find Haki* -executable -type f -exec cp {} $addOnsDir/decorators \;
}
