diff --git a/haiku-games/2048/2048-1.0.0.recipe b/haiku-games/2048/2048-1.0.0.recipe new file mode 100644 index 000000000..518ce4270 --- /dev/null +++ b/haiku-games/2048/2048-1.0.0.recipe @@ -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 +} \ No newline at end of file