0
0
Fork 0
haikuports/haiku-games/2048/2048-1.1.1.recipe

45 lines
878 B
Bash

SUMMARY="The tile-matching game 2048"
DESCRIPTION="The goal of this popular and tile-matching game is to get to tile \
2048.
Use your arrow keys to move the tiles.
When two tiles with the same number touch, they merge into one!"
HOMEPAGE="https://github.com/HaikuArchives/Haiku2048"
COPYRIGHT="2015 Markus Himmel
2016-2021 HaikuArchives Team"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/$portVersion.zip"
CHECKSUM_SHA256="b723c466de2d7de5c4421d82de510e7c9df79ea67352eddd5642ec0bebbf0314"
SOURCE_DIR="Haiku2048-$portVersion"
ARCHITECTURES="all"
PROVIDES="
2048 = $portVersion
app:2048 = $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 -a objects/Haiku2048 $appsDir/2048
addAppDeskbarSymlink $appsDir/2048
}