add 2048!

This commit is contained in:
Mason X
2016-12-03 13:55:34 +00:00
committed by Adrien Destugues
parent 734febcfd5
commit 003b8e40dd

View File

@@ -0,0 +1,43 @@
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/ohnx/Haiku2048"
COPYRIGHT="2015 Markus Himmel"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://github.com/ohnx/Haiku2048/archive/v1.0.0.zip"
CHECKSUM_SHA256="171793f0f138f7cbc743bd04ad6c465a784506ed8917ab23cb3c018dfdee7832"
SOURCE_DIR="haiku2048-1.0.0"
ARCHITECTURES="x86 x86_gcc2 x86_64"
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
}