SUMMARY="A small calendar application with reminders"
DESCRIPTION="You can use this application to organize upcoming events that \
you have scheduled. You can add tasks to any day and schedule reminders at \
particular times for them."
HOMEPAGE="https://github.com/HaikuArchives/A-Book"
COPYRIGHT="2002 Maurice Michalski"
LICENSE="MIT"
REVISION="5"
SOURCE_URI="https://github.com/HaikuArchives/A-Book/archive/b52be13bbf3f236fd10c5053b8ecf11c8211ce7e.tar.gz"
CHECKSUM_SHA256="fa2ee3f6a7fe08f8a67c3d9ce0574e54def68d0bbc7e9950c4826bd50f4dd46a"
SOURCE_DIR="A-Book-b52be13bbf3f236fd10c5053b8ecf11c8211ce7e"

ARCHITECTURES="all"

PROVIDES="
	a_book = $portVersion
	app:A_Book = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	cd src
	make OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a src/objects/A-Book $appsDir
	addAppDeskbarSymlink $appsDir/A-Book
}
