diff --git a/games-strategy/colobot_data/colobot_data-0.1.11.recipe b/games-strategy/colobot_data/colobot_data-0.1.11.recipe new file mode 100644 index 000000000..ef6076331 --- /dev/null +++ b/games-strategy/colobot_data/colobot_data-0.1.11.recipe @@ -0,0 +1,49 @@ +SUMMARY="Data package for Colobot (Colonize with Bots)" +DESCRIPTION="Colobot: Gold Edition is a real-time strategy game, where you can \ +program your units (bots) in a language called CBOT, which is similar to C++ and \ +Java. Your mission is to find a new planet to live and survive. You can save the \ +humanity and get programming skills!" +HOMEPAGE="https://colobot.info/" +COPYRIGHT="Epsitec and TerranovaTeam" +LICENSE="GNU GPL v3" +REVISION="1" +SOURCE_URI="https://github.com/colobot/colobot-data/archive/colobot-gold-$portVersion-alpha.zip" +CHECKSUM_SHA256="80e29c66d0160985f3339b63bd8d456065c1a535a164dc274407bcc66df78e9b" +SOURCE_DIR="colobot-data-colobot-gold-$portVersion-alpha" + +ARCHITECTURES="any" + +PROVIDES=" + colobot_data$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:gcc + cmd:make + cmd:python + cmd:unzip + cmd:wget + " + +BUILD() +{ + mkdir -p build + cd build + cmake .. \ + -DCOLOBOT_INSTALL_DATA_DIR=$dataDir/Colobot \ + -DMUSIC=ON + make $jobArgs +} + +INSTALL() +{ + cd build + make install +}