SUMMARY="An organizer to keep track on your appointments, notes and stuff"
DESCRIPTION="
An organizer that helps you keep track on your appointments, notes and stuff.
"
COPYRIGHT="2013 Marius Stene"
LICENSE="Public Domain"
HOMEPAGE="https://github.com/HaikuArchives/Organizer"
SOURCE_URI="git+https://github.com/HaikuArchives/Organizer#32196761f4"
REVISION="3"

ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	organizer = $portVersion
	app:Organizer = $portVersion
	lib:libfSub
	"

BUILD_REQUIRES="
	haiku_devel
	"

BUILD_PREREQUIRES="
	haiku_devel
	devel:libGL
	makefile_engine
	cmd:gcc
	cmd:make
	"

REQUIRES="
	haiku
	"

USER_SETTINGS_FILES="
	settings/fSub directory"

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

INSTALL()
{
	mkdir -p $appsDir
	cp Organizer $appsDir

	cd Source/lib
	mkdir -p $libDir
	cp libfSub.so $libDir

	addAppDeskbarSymlink $appsDir/Organizer
}
