SUMMARY="An accounting application for Haiku"
DESCRIPTION="FakBEtur, an accounting application that includes invoice editing."
APP="FakBEtur"
HOMEPAGE="https://github.com/ModeenF/beos-fakBEtur"
COPYRIGHT="2014 Maciej Witkowiak"
LICENSE="MIT"
REVISION="1"
srcGitRev="536da5c9c687586e7ade59152b9466820b773fb6"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="f38207db028896d6cc66736f081830d473755cd996bdd16512e5ac63c20e7d35"
SOURCE_DIR="beos-fakBEtur-$srcGitRev"

ARCHITECTURES="!all x86_gcc2"

PROVIDES="
	fakbetur = $portVersion
	app:$APP = $portVersion
	"
REQUIRES="
	haiku
	lib:libsanta
	"

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

BUILD()
{
	make OBJ_DIR=objects $jobArgs
}

INSTALL()
{
	install -d $appsDir
	install -t $appsDir objects/$APP
	addAppDeskbarSymlink $appsDir/$APP
}
