SUMMARY="Control Panel with Categorization and Search for Haiku"
DESCRIPTION="SupePrefs is an application for Haiku providing a Control Panel \
with categorization and inner level search. Created during GSoC '17."
HOMEPAGE="https://github.com/HaikuArchives/SuperPrefs"
COPYRIGHT="2017 Anirudh Murali"
LICENSE="MIT"
REVISION="1"
srcGitRev="cb155e51a042a04650f98e7ccd1c9d027af76115"
SOURCE_URI="https://github.com/HaikuArchives/SuperPrefs/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="1e4283ba36ce9e4c4a77988fae1990df5da495d745f8d770681ca0c92d2bdc35"
SOURCE_DIR="SuperPrefs-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	superprefs = $portVersion
	app:SuperPrefs = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a objects/SuperPrefs $appsDir
	addAppDeskbarSymlink $appsDir/SuperPrefs
}
