Working code

These files update.pl, server.bash and builstable.bash are working scripts that are actively used by me. Therefore, I feel they are ready to be added here.
This commit is contained in:
kake26 2022-11-18 21:53:41 +00:00
parent db76f525d7
commit bf4e7fc555
3 changed files with 145 additions and 0 deletions

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)