Building Luanti for Arch Linux

Even if my package falls under the exception auf submissions guidelines, the package was removed from the AUR because the Minetest package in extra got renamed.

The luanti-modern package uses SDL and a more modern and more fine-grained way to build the packages while the luanti package from extra still uses the old and outdated way of building the packages and does not use SDL (which makes in unusable on nowadays systems without using Xwayland). It also takes several weeks to months before the version in the repositories gets updated.

Just download the PKGBUILD and build the package using makepkg. All the needed files are pulled from here.

Please note: The Redis database map back-end is not supported by this version due to licensing issues coming from the Redis distributors.

Split packages

User data directory

Currently Luanti uses the old name data directory. It might take a couple of releases before they switch to XDG. In the meantime the environment variable MINETEST_USER_DIR can be used to move the ~/.minetest directory to a better location. This PKGBUILD installs an /etc/profile.d/ script doing exactly this.

After starting a new login shell/session, the environment variable is set to ${HOME}/.config/luanti and all user-related data is loaded from there. Unfortunately there seems to be no way to change the minetest.conf file name.