Server build script

Builds the stable version from source.
This commit is contained in:
kake26 2022-11-18 21:47:26 +00:00
parent 96dd09948c
commit 234fd090ca

17
buildstable.bash Normal file
View file

@ -0,0 +1,17 @@
#!/bin/bash
# wget https://github.com/minetest/minetest/archive/master.tar.gz
wget https://github.com/minetest/minetest/archive/refs/tags/5.6.1.tar.gz
tar xf 5.6.1.tar.gz
cd minetest-5.6.1
cd games/
wget https://github.com/minetest/minetest_game/archive/master.tar.gz
tar xf master.tar.gz
mv minetest_game-master minetest_game
cd ..
cd lib/
wget https://github.com/minetest/irrlicht/archive/master.tar.gz
tar xf master.tar.gz
mv irrlicht-master irrlichtmt
cd ..
cmake . -DRUN_IN_PLACE=TRUE -DBUILD_SERVER=TRUE -DBUILD_CLIENT=FALSE
make -j$(nproc)