Files
haikuports/games-strategy/colobot_data/colobot_data-0.1.12.recipe
2019-03-31 23:36:57 +10:00

50 lines
1.0 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="7019907b58511ad87f2850599f5340ba91dfc1071fd1ef2768f12a79208f2a13"
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: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
}