diff --git a/app-misc/lf/lf-27.ebuild b/app-misc/lf/lf-27.ebuild index 76dc822323..d3f344e066 100644 --- a/app-misc/lf/lf-27.ebuild +++ b/app-misc/lf/lf-27.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit go-module bash-completion-r1 desktop xdg +inherit go-module shell-completion desktop xdg DESCRIPTION="Terminal file manager" HOMEPAGE="https://github.com/gokcehan/lf" @@ -25,7 +25,7 @@ src_compile() { ldflags+=' -extldflags "-static"' } - go build -ldflags="${ldflags}" || die 'go build failed' + ego build -ldflags="${ldflags}" } src_install() { @@ -45,14 +45,11 @@ src_install() { newbashcomp "etc/${PN}.bash" "${PN}" # zsh-completion - insinto /usr/share/zsh/site-functions - newins "etc/${PN}.zsh" "_${PN}" + newzshcomp "etc/${PN}.zsh" "_${PN}" # fish-completion - insinto /usr/share/fish/vendor_completions.d - doins "etc/${PN}.fish" - insinto /usr/share/fish/vendor_functions.d - doins "etc/${PN}cd.fish" + dofishcomp "etc/${PN}.fish" + dofishcomp "etc/${PN}cd.fish" domenu "${PN}.desktop" } diff --git a/app-misc/lf/lf-28-r1.ebuild b/app-misc/lf/lf-28-r1.ebuild index 8152b6738f..0dd3d595da 100644 --- a/app-misc/lf/lf-28-r1.ebuild +++ b/app-misc/lf/lf-28-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,7 +25,7 @@ src_compile() { ldflags+=' -extldflags "-static"' } - go build -ldflags="${ldflags}" || die 'go build failed' + ego build -ldflags="${ldflags}" } src_install() { diff --git a/app-misc/lf/lf-29.ebuild b/app-misc/lf/lf-29.ebuild index 76dc822323..d3f344e066 100644 --- a/app-misc/lf/lf-29.ebuild +++ b/app-misc/lf/lf-29.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit go-module bash-completion-r1 desktop xdg +inherit go-module shell-completion desktop xdg DESCRIPTION="Terminal file manager" HOMEPAGE="https://github.com/gokcehan/lf" @@ -25,7 +25,7 @@ src_compile() { ldflags+=' -extldflags "-static"' } - go build -ldflags="${ldflags}" || die 'go build failed' + ego build -ldflags="${ldflags}" } src_install() { @@ -45,14 +45,11 @@ src_install() { newbashcomp "etc/${PN}.bash" "${PN}" # zsh-completion - insinto /usr/share/zsh/site-functions - newins "etc/${PN}.zsh" "_${PN}" + newzshcomp "etc/${PN}.zsh" "_${PN}" # fish-completion - insinto /usr/share/fish/vendor_completions.d - doins "etc/${PN}.fish" - insinto /usr/share/fish/vendor_functions.d - doins "etc/${PN}cd.fish" + dofishcomp "etc/${PN}.fish" + dofishcomp "etc/${PN}cd.fish" domenu "${PN}.desktop" } diff --git a/app-misc/lf/lf-30.ebuild b/app-misc/lf/lf-30.ebuild index 76dc822323..d3f344e066 100644 --- a/app-misc/lf/lf-30.ebuild +++ b/app-misc/lf/lf-30.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit go-module bash-completion-r1 desktop xdg +inherit go-module shell-completion desktop xdg DESCRIPTION="Terminal file manager" HOMEPAGE="https://github.com/gokcehan/lf" @@ -25,7 +25,7 @@ src_compile() { ldflags+=' -extldflags "-static"' } - go build -ldflags="${ldflags}" || die 'go build failed' + ego build -ldflags="${ldflags}" } src_install() { @@ -45,14 +45,11 @@ src_install() { newbashcomp "etc/${PN}.bash" "${PN}" # zsh-completion - insinto /usr/share/zsh/site-functions - newins "etc/${PN}.zsh" "_${PN}" + newzshcomp "etc/${PN}.zsh" "_${PN}" # fish-completion - insinto /usr/share/fish/vendor_completions.d - doins "etc/${PN}.fish" - insinto /usr/share/fish/vendor_functions.d - doins "etc/${PN}cd.fish" + dofishcomp "etc/${PN}.fish" + dofishcomp "etc/${PN}cd.fish" domenu "${PN}.desktop" } diff --git a/app-misc/lf/lf-31.ebuild b/app-misc/lf/lf-31.ebuild index 5c388fbe00..d3f344e066 100644 --- a/app-misc/lf/lf-31.ebuild +++ b/app-misc/lf/lf-31.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,7 +25,7 @@ src_compile() { ldflags+=' -extldflags "-static"' } - go build -ldflags="${ldflags}" || die 'go build failed' + ego build -ldflags="${ldflags}" } src_install() { diff --git a/app-misc/lf/lf-32.ebuild b/app-misc/lf/lf-32.ebuild index b57fe4c2ac..81f9e22cb6 100644 --- a/app-misc/lf/lf-32.ebuild +++ b/app-misc/lf/lf-32.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ src_compile() { ldflags+=' -extldflags "-static"' } - go build -ldflags="${ldflags}" || die 'go build failed' + ego build -ldflags="${ldflags}" } src_install() { diff --git a/app-misc/lf/lf-33.ebuild b/app-misc/lf/lf-33.ebuild index 2e89d9e854..607ee117fc 100644 --- a/app-misc/lf/lf-33.ebuild +++ b/app-misc/lf/lf-33.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8