Minetest/buildstable.bash
kake26 bf4e7fc555 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.
2022-11-18 21:53:41 +00:00

17 lines
548 B
Bash

#!/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)