SUMMARY="A map application"
DESCRIPTION="\"Maps\" is a minimalistic map viewer app that is simple \
and easy to use. Search for places by typing the name or the coordinates \
of the place in the search box and get results by pressing enter. Zoom in \
and out by scrolling your mouse. Drag with your mouse to move around."
HOMEPAGE="https://github.com/raefaldhia/Maps"
COPYRIGHT="2016-2017 Raefaldhi Amartya Junior"
LICENSE="MIT"
REVISION="1"
srcGitRev="fae2e64aca6ad00e2827556f8ddaf24adec891b8"
SOURCE_URI="https://github.com/raefaldhia/Maps/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="bec05e952fec0af76d21ad1a1ab04905ab5d8f04037c6fbd20a49dfa1e811684"
SOURCE_DIR="Maps-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	maps = $portVersion
	app:Maps = $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/Maps $appsDir
	addAppDeskbarSymlink $appsDir/Maps
}
