Building Luanti for Arch Linux

Building version: 5.14 from January 1, 2026

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 a wrapper script doing exactly this.

When starting Luanti with the luanti-client command, the path is not changed, if you use the regular luanti command, the “correct” path is used ($XDG_CONFIG_HOME/luanti or ~/.config/luanti if $XDG_CONFIG_HOME is not set).