Merge pull request #347 from DarkmatterVale/master

Add recipe for DynaMate
This commit is contained in:
Adrien Destugues
2015-12-19 22:08:58 +01:00

View File

@@ -0,0 +1,51 @@
SUMMARY="A game about merging bombs of different colors"
DESCRIPTION="Dynamate is a game where you try to remove all colored dots \
from the screen. There are specific rules as to how you can manipulate \
each dot, and what each different colored dot does.
Dynamate is a single-player game with many different levels."
HOMEPAGE="https://github.com/HaikuArchives/Dynamate"
COPYRIGHT="2014 Adrien Destugues
1995 Jonas Norberg, Signe Norberg and Bjorn Kalzen"
LICENSE="MIT"
SOURCE_URI="git+https://github.com/HaikuArchives/Dynamate.git#e870f3c3026739831b749318d58826b0e4d874d7"
REVISION="1"
ARCHITECTURES="?x86 x86_gcc2 ?x86_64"
PROVIDES="
DynaMate = $portVersion
app:DynaMate = $portVersion
app:LevelWorld = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/DynaMate
cp -r DynaMate/DynaMate $appsDir/DynaMate
cp -r DynaMate/sfx $appsDir/DynaMate
cp -r DynaMate/docs $appsDir/DynaMate
cp -r DynaMate/levels-Jonas $appsDir/DynaMate
cp -r DynaMate/levels-Signe $appsDir/DynaMate
cp -r DynaMate/levels-Tutorial $appsDir/DynaMate
cp -r LevelWorld/LevelWorld $appsDir/DynaMate
addAppDeskbarSymlink $appsDir/DynaMate/DynaMate
addAppDeskbarSymlink $appsDir/DynaMate/LevelWorld
}