I've updated the above script to compile on Fedora 23. Somewhere between F20 and F23, they went from using YUM for package updating to DNF. Fun.
# make sure you have the packages to compile with
su -c "dnf install cmake gcc-c++ luajit luajit-devel irrlicht irrlicht-devel curl libcurl-devel bzip2-devel libpng libpng-devel libogg libogg-devel libvorbis libvorbis-devel freetype freetype-devel openal openal-devel leveldb leveldb-devel sqlite sqlite-devel";
# download the game
wget https://github.com/minetest/minetest/archive/master.zip; # the game engine
unzip master.zip; rm master.zip;
mkdir minetest-master/games; cd minetest-master/games/;
wget https://github.com/minetest/minetest_game/archive/master.zip; # the minetest game
unzip master.zip; rm master.zip;
cd ../;
cmake . -DRUN_IN_PLACE=0 -DENABLE_CURL=1 -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=0 -DENABLE_SOUND=1 -DCMAKE_INSTALL_PREFIX=/usr/local/share && make -j$(grep -c "processor" /proc/cpuinfo);
# go get some coffee. This will take some minutes
cd ../;
su
mv minetest-master /usr/local/share/; # move the game data where the executable expects to find it
ln -s /usr/local/share/minetest-master/bin/minetest /usr/bin/minetest; # link the executable into the system-wide path
ln -s /usr/local/share/minetest-master/bin/minetestserver /usr/bin/minetestserver; # link the server executable into the system-wide path