Is there a reason this uses make -j$(($(nproc)+1)) instead of assuming the correct -j option is set in MAKEFLAGS? I often want a core or two free when updating.
I second that. -j shouldn't be set this way in the PKGBUILD. It should be up to user to set the desired value using MAKEFLAGS.
https://wiki.archlinux.org/title/Makepkg#Parallel_compilation
Pinned Comments