From 6a931cf4f0c3c7c0567035c110138124f4aac3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Geel=20Weirs=C3=B8e?= Date: Wed, 6 May 2026 15:49:06 +0200 Subject: [PATCH] docs: add --prefix=/usr to Arch build instructions Without it meson defaults to /usr/local, so the installed paths don't match the README and DEFAULT_PATH compiled into the PAM module is wrong. Co-Authored-By: Claude Sonnet 4.6 --- readme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 0b97554..bb07b8f 100644 --- a/readme.md +++ b/readme.md @@ -49,10 +49,13 @@ Then follow the [Wayland](#usage-linux---wayland-only-gtklock) or [X11](#usage-l ```bash sudo pacman -S meson ninja rust gtk3 gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gtklock -meson setup builddir && meson compile -C builddir +meson setup builddir --prefix=/usr +meson compile -C builddir sudo meson install -C builddir ``` +`--prefix=/usr` matches Arch conventions (same as pacman) and ensures the compiled-in default path for `ahfail-display` matches where it is installed. + Installs: - `/usr/lib/gtklock/ahfail-module.so` — gtklock module - `/usr/lib/ahfail/libahfail_pam.so` — PAM module (for X11)