SUMMARY="An application that plays a sound after a given time"
DESCRIPTION="WakeUp is a timer application that allows users \
to set their own ringtone, giving them a more personalized \
experience. This application could be used for many purposes, \
like an alarm clock or a cooking timer, just to name a few."
HOMEPAGE="https://github.com/HaikuArchives/WakeUp"
COPYRIGHT="1999 Jonathan Villemure"
LICENSE="MIT"
REVISION="3"
srcGitRev="79fd5f5ba44704258b2f01ee5768d999bdc76c4e"
SOURCE_URI="https://github.com/HaikuArchives/WakeUp/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="12ffbf75e60862ce5731542dfd17e6ec5f4e67232921c87d70f28d4b805ce507"
SOURCE_FILENAME="WakeUp-$srcGitRev.tar.gz"
SOURCE_DIR="WakeUp-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	wakeup = $portVersion
	app:WakeUp = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make OBJ_DIR=objects
}

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