Create maps-1.0.recipe (#1862)

This commit is contained in:
bach5000
2017-12-07 16:08:50 +00:00
committed by Jérôme Duval
parent 3a9c582f0d
commit b4df4119c2

View File

@@ -0,0 +1,43 @@
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"
gitSrcRevision="fae2e64aca6ad00e2827556f8ddaf24adec891b8"
SOURCE_URI="https://github.com/raefaldhia/Maps/archive/$gitSrcRevision.tar.gz"
CHECKSUM_SHA256="bec05e952fec0af76d21ad1a1ab04905ab5d8f04037c6fbd20a49dfa1e811684"
SOURCE_DIR="Maps-$gitSrcRevision"
ARCHITECTURES="x86_gcc2 x86_64"
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
}