SUMMARY="A note taking application"
DESCRIPTION="
With TakeNotes you can:
- Write a note
- Edit the font family, color and size
- Change the color of your note
- Move your note on the desktop
- Link a note to a particular application
- Tag your note for easy search
- Set an alarm to reminds you date, appointments and so on
"
COPYRIGHT="2009 Ilio Catallo, Stefano Celentano, Eleonora Ciceri"
LICENSE="GNU GPL v2"
HOMEPAGE="https://github.com/HaikuArchives/TakeNotes"
SOURCE_URI="git+https://github.com/HaikuArchives/TakeNotes#7f84d8f50e"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SOURCE_DIR="takesnotes-1.0.0/source"

PROVIDES="
	takenotes=$portVersion
	app:TakeNotes=$portVersion
	"

REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

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

INSTALL()
{
	mkdir -p $appsDir
	cp objects/TakeNotes $appsDir
	addAppDeskbarSymlink $appsDir/TakeNotes
}