SUMMARY="DockBert adds a dock to your deskbar"
DESCRIPTION="
DockBert is a Deskbar modification. It adds a dock to your deskbar where you \
may have shortcuts organized in \"tabs\", a tab of the running apps and some \
other general eyecandy.
"
HOMEPAGE="https://github.com/HaikuArchives/DockBert"
SOURCE_URI="https://github.com/HaikuArchives/DockBert/archive/722161cf8646b18eee2d00208fa649a0ebfe8d00.zip"
CHECKSUM_SHA256="704a8cde914b41219e60ef8fc375ab7847cae580b1265f1b9b84cbe294334cce"
COPYRIGHT="2005 yellowTAB GmbH"
LICENSE="BSD (3-clause)"

REVISION="4"

ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"

PROVIDES="
	dockbert = $portVersion
	app:Dock = $portVersion
	"

REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc$secondaryArchSuffix
	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/Dock
	addAppDeskbarSymlink $appsDir/Dock
}
