I think Arch devs recently changed the default to debug which is not the best choice for users who are not debugging the results.
If you are a dev, then debug may be a useful setting.
No I am not certainly a dev, and I don’t usually mess with build setup of AUR packages, but I just want to make sure not install broken packages and not notice it.
The debug setting is mainly meant for users who want to debug the build results, for various reasons like fixing a bug. For other users it is better to set to !debug.
Great , so I should not worry about it.
Is this config file is for make command in general or only applies to AUR PKGBUILD files? I like to learn about how it works in the future. I think I should try to make a package to fully get how it is done
You could fetch some small and simple AUR package with command yay -Ga <pkgname>
and then go to the fetched folder and run makepkg
to see how it goes.
When the build succeeds, look at the makepkg (or pacman) options to see how you can install the built package (<pkgname>*.zst) if you want to install it too.
Thank you for your help, going to give it a try ASAP, I want to create a AUR package in the future, both to learn also give something back to FOSS community