SUMMARY="Manage your task list and sync it with online services"
DESCRIPTION="HaikuToDo allows you to manage lists of tasks and synchronize \
them with online services such as Google Tasks."
HOMEPAGE="https://github.com/AdrianArroyoCalle/haiku-todo"
COPYRIGHT="2014 Adrian Arroyo Calle"
LICENSE="MIT"
REVISION="2"
srcGitRev="2b8f6ea07e7034f4fe9564e6419587dad9f00217"
SOURCE_URI="https://github.com/AdrianArroyoCalle/haiku-todo/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="90475c47cc0a8f70ef76f58b202ad3fb76fe3b965cd95116b7c9b724f96ab168"
SOURCE_DIR="haiku-todo-$srcGitRev"

ARCHITECTURES="x86_gcc2"

PROVIDES="
	haikutodo = $portVersion
	app:haikutodo
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:cmake
	cmd:g++
	cmd:make
	"

BUILD()
{
	mkdir -p build
	cd build
	cmake ..
	make $jobArgs
}

INSTALL()
{
	mkdir -p $appsDir
	cp build/HaikuToDo $appsDir
	addAppDeskbarSymlink $appsDir/HaikuToDo HaikuToDo
}
