From 234fd090ca7bb5c04f0efd7393f67561e3654540 Mon Sep 17 00:00:00 2001 From: kake26 Date: Fri, 18 Nov 2022 21:47:26 +0000 Subject: [PATCH] Server build script Builds the stable version from source. --- buildstable.bash | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 buildstable.bash diff --git a/buildstable.bash b/buildstable.bash new file mode 100644 index 0000000..5606319 --- /dev/null +++ b/buildstable.bash @@ -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)