# /etc/profile.d/makepkg.sh
export PATH="/usr/lib/ccache/bin/:$PATH"
export PATH="/usr/lib/colorgcc/bin/:$PATH" # As per usual colorgcc installation, leave unchanged (don't add ccache)
export CCACHE_PATH="/usr/bin" # Tell ccache to only use compilers here
We love an optimized buildtime
And the optimizations of
/etc/makepkg.conf
here: https://wiki.archlinux.org/title/Makepkg#Tips_and_tricks