summaryrefslogtreecommitdiff
path: root/.config/pacman/makepkg.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/pacman/makepkg.conf')
-rw-r--r--.config/pacman/makepkg.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/.config/pacman/makepkg.conf b/.config/pacman/makepkg.conf
new file mode 100644
index 0000000..8389fb5
--- /dev/null
+++ b/.config/pacman/makepkg.conf
@@ -0,0 +1,24 @@
+#!/phony/bash
+
+PKGDEST="${LIBREHOME:-$HOME}/packages/pkgdest"
+SRCDEST="${LIBREHOME:-$HOME}/packages/srcdest"
+SRCPKGDEST="${LIBREHOME:-$HOME}/packages/srcpkgdest"
+LOGDEST="${LIBREHOME:-$HOME}/packages/logdest"
+
+PACKAGER="Luke Shumaker <lukeshu@sbcglobal.net>"
+
+MAKEFLAGS="-j3"
+
+if type ccache &>/dev/null; then
+ f=false
+ for i in "${!BUILDENV[@]}"; do
+ if [[ "${BUILDENV[$i]}" == '!ccache' ]]; then
+ BUILDENV[$i]='ccache'
+ f=true
+ fi
+ done
+ if [[ $f == false ]]; then
+ BUILDENV+=('ccache')
+ fi
+ unset f i
+fi