Files
haikuports/games-strategy/colobot_data/colobot_data-0.2.2.recipe
2025-01-27 07:33:31 +01:00

51 lines
1.1 KiB
Bash

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="fcafeb8b1493712622daaf576e56ffa7fad6c95fcc118b0707debbc330ad9bd3"
SOURCE_DIR="colobot-data-colobot-gold-$portVersion-alpha"
ARCHITECTURES="any"
PROVIDES="
colobot_data = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc
cmd:make
cmd:python3
cmd:unzip
cmd:wget
"
BUILD()
{
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCOLOBOT_INSTALL_DATA_DIR=$dataDir/Colobot \
-DMUSIC=ON
make $jobArgs
}
INSTALL()
{
cd build
make install
}