New comment by b1scu1t on void-packages repository https://github.com/void-linux/void-packages/issues/15426#issuecomment-541494300 Comment: It seems like `xuname` must be run as root, to return accurate results. `Void 4.19.79_1 x86_64 GenuineIntel uptodate rrrmFFFFF` I've seen the PKGBUILD. Arch seems to 'manually' add .desktop files to their packages. Or make a script with `gendesk`, to generate a .desktop file during the `makepkg() `phase.