run Foliate via foliate or similar
Foliate must be run as com.github.johnfactotum.Foliate
Install foliate
(I'm not sure the best way of renaming the executable in the package build. I tried adding:
post_install() {
vbin com.github.johnfactotum.Foliate foliate
}
And some similar variants, but didn't have any luck.)
Renaming the executable alone won't work. The binary name has been hardcoded mulitiple times in the source.
[I'm not the pkg-commiter]
If I were you, I would do like this: https://github.com/sgn/void-packages/commit/d505b965040159558934d37d12b93cc2cc39fdc4
This assumes nothing else would possibly try to execute this program.
I think keeping the name and adding a symlink to /usr/bin is generally a better approach and is done by archlinux.
This assumes nothing else would possibly try to execute this program.
I think keeping the name and adding a symlink to/usr/binis generally a better approach and is done by archlinux.
This was my local solution.
Closed by #20732
Most helpful comment
[I'm not the pkg-commiter]
If I were you, I would do like this: https://github.com/sgn/void-packages/commit/d505b965040159558934d37d12b93cc2cc39fdc4