I'm a debian user, there's makedeb, a clone of makepkg but for debs. PKGBUILDs need manual converting. I converted this one for makedeb, and also made other important changes. You can see it here. https://mpr.makedeb.org/packages/ventoy-bin
Most importantly, i have it clone the folder tree and symlink the files in .config and run them from there. This is my preferred way in dealing with cases like these. This way, all the logs and configs end up in the .config folder while after an update the symlinks will be pointing to the new files. It's almost as good as a well behaved application.
I also use a single wrapper script for all the scripts. symlinks link to it, then the script checks it's name to determine witch script to launch. It's a lot saner then keep track of 7 wrapper scripts.
Pinned Comments