SUMMARY="App and file launcher"
DESCRIPTION="Drag icons into 8Dock. Double-click to launch them."
HOMEPAGE="http://www.vortex.is/~jonr/Be/apps/"
COPYRIGHT="1999-2002 Jón Ragnarsson
	2002 Michael Pfeiffer
	2017-2019 HaikuArchives Team"
LICENSE="MIT"
REVISION="2"
srcGitRev="88b4f0b03aa3018c3a13e9cd02ed40933bfcb26d"
SOURCE_URI="https://github.com/HaikuArchives/8Dock/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="2536bb953b446f52d973a1896c123c33521f6b52014473de2cdb104f72196d78"
SOURCE_FILENAME="8Dock-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="8Dock-$srcGitRev/src"

ARCHITECTURES="all ?x86"

PROVIDES="
	8dock = $portVersion
	app:8Dock = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

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

TEST()
{
	make check
}
