diff --git a/haiku-games/peggy/peggy-0.5.2.recipe b/haiku-games/peggy/peggy-0.5.2.recipe new file mode 100644 index 000000000..1dff798cc --- /dev/null +++ b/haiku-games/peggy/peggy-0.5.2.recipe @@ -0,0 +1,43 @@ +SUMMARY="A board game inspired by Mastermind(tm)" +DESCRIPTION="In this game you have to crack a color code in 9 attempts \ +by getting feedback about the correctness of the color pegs and their positions." +HOMEPAGE="https://github.com/andimachovec/Peggy" +COPYRIGHT="2021 Andi Machovec" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="https://github.com/andimachovec/Peggy/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="edbaa164c14c2ce6a3aaf2efcf8696fd7d1ea2e7f97e170d8562b4a1c50908e6" +SOURCE_DIR="Peggy-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + peggy$secondaryArchSuffix = $portVersion + app:Peggy = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + make $jobArgs OBJ_DIR=objects + make bindcatalogs OBJ_DIR=objects +} + +INSTALL() +{ + mkdir -p $appsDir + cp -af objects/Peggy $appsDir + addAppDeskbarSymlink $appsDir/Peggy +}