Maxime Gauduin wrote:
The reason why permissions should be set in the PKGBUILD is because that way pacman can track them. Then it's up to the maintainer to choose UIDs/GIDs that do not conflict with official packages, and to the user to check that they don't already use that particular UID/GID ,before installing an AUR package.
I just want to add that I think hard-coding UIDs and GIDs is a very bad idea. I would expect them to vary across systems.
No, I do not have a better suggestion.