Good evening, dear list Most binary package ebuilds have such a *dosym* statement in src_install(), take net-im/signal-desktop-bin as an example:
dosym ../../opt/Signal/${MY_PN} /usr/bin/${MY_PN} (where the variable is signal-desktop) *dosym* creates a symlink of the binary under opt at /usr/bin/ according to devmanaul. I'm confused about the "../../", since S="${workdir}", the correct way seems to be "dosym ./opt/Signal/xxx /usr/bin/xxx" It's much appreciated if anyone could help ; ) └── signal-desktop-bin-5.50.0 ├── distdir │ └── signal-desktop_5.50.0_amd64.deb -> /var/cache/distfiles/signal-desktop_5.50.0_amd64.deb ├── files -> /var/db/repos/gentoo/net-im/signal-desktop-bin/files ├── homedir ├── temp │ ├── build.log │ ├── eclass-debug.log │ ├── environment │ └── logging └── work ├── opt └── usr