colobot-paketlendi

This commit is contained in:
milisbir 2018-11-21 11:17:10 +02:00
parent da530579b7
commit 4e66367dcc
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# Tanım: Colobot GOLD oyun verisi
# URL: http://colobot.info
# Paketçi: milisarge
# Gerekler: cmake python
# Grup: oyun
isim=colobot-gold-data
surum=0.1.11.1
devir=1
kaynak=(https://github.com/colobot/colobot-data/archive/colobot-gold-0.1.11.1-alpha.zip::$isim-$surum.zip)
derle() {
cd $SRC
_archive_dir="colobot-data-colobot-gold-0.1.11.1-alpha"
mkdir -p "$SRC/$_archive_dir/build"
cd "$SRC/$_archive_dir/build"
cmake ../ -DCMAKE_INSTALL_PREFIX="/usr" -DMUSIC=0
make
make DESTDIR="$PKG/" install
}

View File

@ -0,0 +1,25 @@
# 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
}