aboutsummaryrefslogtreecommitdiffstats
path: root/.config/pacman
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-05-23 09:44:52 +0200
committerDavid Runge <dave@sleepmap.de>2023-05-23 09:53:22 +0200
commitfcc4ef1fec25db18a401a9bc0fbe6caf70591a72 (patch)
tree4d98b85be03a34e8f023b1f6cc2a96728cb2d012 /.config/pacman
parent1ce6bf269e9a2abf4198608af1dfec87da640bad (diff)
downloaddotfiles-fcc4ef1fec25db18a401a9bc0fbe6caf70591a72.tar.gz
dotfiles-fcc4ef1fec25db18a401a9bc0fbe6caf70591a72.tar.bz2
dotfiles-fcc4ef1fec25db18a401a9bc0fbe6caf70591a72.tar.xz
dotfiles-fcc4ef1fec25db18a401a9bc0fbe6caf70591a72.zip
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.
Diffstat (limited to '.config/pacman')
-rw-r--r--.config/pacman/makepkg.conf8
1 files 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 <dvzrv@archlinux.org>"
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"