app-office/libreoffice-bin: install convenience symlink

Closes: https://bugs.gentoo.org/954332
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42004
Closes: https://github.com/gentoo/gentoo/pull/42004
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2025-05-09 20:04:09 +03:00
committed by Sam James
parent 120df43f87
commit 083cc9c87b
2 changed files with 8 additions and 0 deletions

View File

@@ -159,6 +159,10 @@ src_install() {
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
rmdir "${ED}"/usr/local || die
# Convenience link
# bug #954332
dosym libreoffice${PV%*.*} /usr/bin/${PN}
# prevent revdep-rebuild from attempting to rebuild all the time
insinto /etc/revdep-rebuild
doins "${T}/50-${PN}"

View File

@@ -159,6 +159,10 @@ src_install() {
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
rmdir "${ED}"/usr/local || die
# Convenience link
# bug #954332
dosym libreoffice${PV%*.*} /usr/bin/${PN}
# prevent revdep-rebuild from attempting to rebuild all the time
insinto /etc/revdep-rebuild
doins "${T}/50-${PN}"