I made two simple but useful bash scripts - one to automatically download and compile Minetest from official Github repo and another to automatically update and recompile it (if necessary).
I hope that someone will find them useful :).
https://github.com/Phitherek/various/blob/bash/minetest_gitinstall
https://github.com/Phitherek/various/blob/bash/minetest_gitupdate