SUMMARY="A dock-like Deskbar alternative"
DESCRIPTION="DockBert is a modified Deskbar. It adds a dock to your \
desktop where you may have shortcuts organized in \"tabs\", a tab of the \
running apps and some other general eye-candy."
HOMEPAGE="https://github.com/HaikuArchives/DockBert"
COPYRIGHT="2005 yellowTAB GmbH"
LICENSE="BSD (3-clause)"
REVISION="5"
srcGitRev="29d289da4a293aa795b2aac50e5876fb7ee00c5b"
SOURCE_URI="https://github.com/HaikuArchives/DockBert/archive/$srcGitRev.zip"
CHECKSUM_SHA256="044fdaa1eb4d4994680ec0bc82292a302f68d2c42112cacc367227bd607ffac5"
SOURCE_DIR="DockBert-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	dockbert = $portVersion
	app:DockBert = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	cd source
	make OBJ_DIR=objects \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a source/objects/Dock $appsDir/DockBert
	addAppDeskbarSymlink $appsDir/DockBert
}
