From fcc4ef1fec25db18a401a9bc0fbe6caf70591a72 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 23 May 2023 09:44:52 +0200 Subject: makepkg: move sources and logs to XDG compliant dirs Use XDG_RUNTIME_DIR (or /tmp) as build dir. Use XDG_CACHE_HOME (or $HOME/.cache) as source dir. USE XDG_STATE_HOME (or $HOME/.local/state) as logs dir. --- .config/pacman/makepkg.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/pacman/makepkg.conf b/.config/pacman/makepkg.conf index 101d664..46055d5 100644 --- a/.config/pacman/makepkg.conf +++ b/.config/pacman/makepkg.conf @@ -1,7 +1,7 @@ #!/hint/bash -# -# ~/.makepkg.conf -# + PACKAGER="David Runge " GPGKEY="991F6E3F0765CF6295888586139B09DA5BF0D338" -BUILDDIR=/tmp/makepkg +BUILDDIR="${XDG_RUNTIME_DIR:/tmp}/makepkg" +SRCDEST="${XDG_CACHE_HOME:$HOME/.cache}/makepkg/src" +LOGDEST="${XDG_STATE_HOME:$HOME/.local/state}/makepkg/log" -- cgit v1.2.3-70-g09d2