New comment by Johnnynator on void-packages repository https://github.com/void-linux/void-packages/pull/31195#issuecomment-850747159 Comment: All these `find` and `for` loops make that template quite ugly to read imo. Maybe electron builder can be abused to provide a more usable directory structure. Regarding naming an so, you could just take a look at the official '.deb' or '.rpm' and copy the naming from there.