It's just matter of few line in a PKGBUILD, isn't it ? For my, it should be ask for packager to fix it for the next upgrade. And a work on the UID / GID database is the solution for me. Maybe it might be better to work on this rather than fix every PKGBUILD.