SUMMARY="GUI designer for BeOS"
DESCRIPTION="BeBuilder is a GUI designer for BeOS."
HOMEPAGE="https://github.com/HaikuArchives/BeBuilder"
COPYRIGHT="1999 Jerome Fillmon"
LICENSE="Public Domain"
REVISION="2"
srcGitRev="a488ce807404481b74f989eac179398b5a48c1d5"
SOURCE_URI="https://github.com/HaikuArchives/BeBuilder/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="a42815e7672c7c393850ee282f1e66acd195d4faaea33f1884a4418f4853a82f"
SOURCE_FILENAME="BeBuilder-$srcGitRev.tar.gz"
SOURCE_DIR="BeBuilder-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	bebuilder = $portVersion
	app:BeBuilder = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	cd V0.5.2BeBuilder
	mkdir -p bin
	make $jobArgs TARGET_DIR=bin
}

INSTALL()
{
	install -d $appsDir
	install -t $appsDir V0.5.2BeBuilder/bin/BeBuilder
	addAppDeskbarSymlink $appsDir/BeBuilder
}
