diff --git a/larbs.sh b/larbs.sh index dc27cfe..3cf059e 100644 --- a/larbs.sh +++ b/larbs.sh @@ -177,6 +177,9 @@ newperms "%wheel ALL=(ALL) NOPASSWD: ALL" # Make pacman and yay colorful because why not. sed -i "s/^#Color/Color/g" /etc/pacman.conf +# Use all cores for compilation. +sed -i "s/-j2/-j$(nproc)/;s/^#MAKEFLAGS/MAKEFLAGS/" /etc/makepkg.conf + manualinstall $aurhelper || error "Failed to install AUR helper." # The command that does all the installing. Reads the progs.csv file and