# 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.12
devir=1
kaynak=(https://github.com/colobot/colobot/archive/colobot-gold-0.1.12-alpha.zip)

derle() {
    _ver=0.1.12-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
}
