app-misc/lf: QA check fixes

* Install bashcomp alias for lfcd.
* Don't strip the binary.

Closes: https://bugs.gentoo.org/927509
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2025-07-29 16:35:30 +02:00
parent ad3d0a4229
commit 6dd67d6620

View File

@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+static"
src_compile() {
local ldflags="-s -w -X main.gVersion=r${PV}"
local ldflags="-w -X main.gVersion=r${PV}"
use static && {
export CGO_ENABLED=0
ldflags+=' -extldflags "-static"'
@@ -42,6 +42,7 @@ src_install() {
# bash-completion
newbashcomp "etc/${PN}.bash" "${PN}"
bashcomp_alias lf lfcd
# zsh-completion
newzshcomp "etc/${PN}.zsh" "_${PN}"