TL;DR: When installing software from the AUR, you should get in a habit of inspecting PKGBUILD files, and yay has this nice utility where, upon updates, it only shows you the differences in the PKGBUILD, so you can quickly see what changed.
@dalto
can you pls explain to me what option should i enter for the yay prompt below ?
i wanted to download brightness controller git…
hence i should enter “1” , right ?
how about diffs to show ? what should i do about it ? it is the option that show me the different in package right ? should should i enter with regarding to that ?
Type N to show nothing (only do this if you trust the package), A to show differences/PKGBUILD files for all packages you’re building, I to show them only for the packages that are already installed and No to show the differences for packages that are not yet installed. Or you can type the number of package for which you want to see the PKGBUILD file or differences…
This is just for your convenience so you can inspect the PKGBUILD files without having to visit aur.archlinux.org.
I recommend following the Arch wiki and building at least one package manually, by the book, before using an AUR helper like yay. Just so you understand what’s going on.
It’s a bit overwhelming to jump straight in and that’s why most users just ignore this and willy-nilly install stuff from the AUR. If you want to do this properly, you should try to understand the Arch package build process, and for that you need to read the wiki. If you have any specific questions, I and many others will be happy to answer.