milis/talimatname/genel/c/colobot-gold/talimat

26 lines
756 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Colobot GOLD programlanabilir bot oyunu
# URL: http://colobot.info
# Paketçi: milisarge
# Gerekler: cmake boost libsndfile glew sdl2 libvorbis libpng libogg sdl2-image sdl2-ttf openal physfs colobot-gold-data
# Grup: oyun
isim=colobot-gold
surum=0.1.11.1
devir=1
kaynak=(https://github.com/colobot/colobot/archive/colobot-gold-0.1.11.1-alpha.zip)
derle() {
_ver=0.1.11.1-alpha
_archive_dir="colobot-colobot-gold-$_ver"
mkdir -p "$SRC/$_archive_dir/build"
cd "$SRC/$_archive_dir/build"
cmake "$SRC/$_archive_dir" \
-DCMAKE_BUILD_TYPE=release \
-DOPENAL_SOUND=1 \
-DASSERTS=1 -DDEV_BUILD=0 \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCOLOBOT_INSTALL_BIN_DIR="/usr/bin"
make
make DESTDIR="$PKG/" install
}