mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-misc/lf: EAPI 7 -> 8; insinto -> shell-completion.eclass; go build -> ego build
also fixes the following pkgcheck warnings: app-misc/lf DeprecatedInsinto: version 27: deprecated insinto usage (use dozshcomp or newzshcomp from shell-completion.eclass instead), line 48: insinto /usr/share/zsh/site-functions DeprecatedInsinto: version 27: deprecated insinto usage (use dofishcomp or newfishcomp from shell-completion.eclass instead), line 52: insinto /usr/share/fish/vendor_completions.d DeprecatedInsinto: version 29: deprecated insinto usage (use dozshcomp or newzshcomp from shell-completion.eclass instead), line 48: insinto /usr/share/zsh/site-functions DeprecatedInsinto: version 29: deprecated insinto usage (use dofishcomp or newfishcomp from shell-completion.eclass instead), line 52: insinto /usr/share/fish/vendor_completions.d DeprecatedInsinto: version 30: deprecated insinto usage (use dozshcomp or newzshcomp from shell-completion.eclass instead), line 48: insinto /usr/share/zsh/site-functions DeprecatedInsinto: version 30: deprecated insinto usage (use dofishcomp or newfishcomp from shell-completion.eclass instead), line 52: insinto /usr/share/fish/vendor_completions.d Signed-off-by: ingenarel <ingenarelitems@gmail.com> Part-of: https://github.com/gentoo/guru/pull/355 Closes: https://github.com/gentoo/guru/pull/355 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -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
|
# 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"
|
DESCRIPTION="Terminal file manager"
|
||||||
HOMEPAGE="https://github.com/gokcehan/lf"
|
HOMEPAGE="https://github.com/gokcehan/lf"
|
||||||
@@ -25,7 +25,7 @@ src_compile() {
|
|||||||
ldflags+=' -extldflags "-static"'
|
ldflags+=' -extldflags "-static"'
|
||||||
}
|
}
|
||||||
|
|
||||||
go build -ldflags="${ldflags}" || die 'go build failed'
|
ego build -ldflags="${ldflags}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
@@ -45,14 +45,11 @@ src_install() {
|
|||||||
newbashcomp "etc/${PN}.bash" "${PN}"
|
newbashcomp "etc/${PN}.bash" "${PN}"
|
||||||
|
|
||||||
# zsh-completion
|
# zsh-completion
|
||||||
insinto /usr/share/zsh/site-functions
|
newzshcomp "etc/${PN}.zsh" "_${PN}"
|
||||||
newins "etc/${PN}.zsh" "_${PN}"
|
|
||||||
|
|
||||||
# fish-completion
|
# fish-completion
|
||||||
insinto /usr/share/fish/vendor_completions.d
|
dofishcomp "etc/${PN}.fish"
|
||||||
doins "etc/${PN}.fish"
|
dofishcomp "etc/${PN}cd.fish"
|
||||||
insinto /usr/share/fish/vendor_functions.d
|
|
||||||
doins "etc/${PN}cd.fish"
|
|
||||||
|
|
||||||
domenu "${PN}.desktop"
|
domenu "${PN}.desktop"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -25,7 +25,7 @@ src_compile() {
|
|||||||
ldflags+=' -extldflags "-static"'
|
ldflags+=' -extldflags "-static"'
|
||||||
}
|
}
|
||||||
|
|
||||||
go build -ldflags="${ldflags}" || die 'go build failed'
|
ego build -ldflags="${ldflags}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
|||||||
@@ -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
|
# 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"
|
DESCRIPTION="Terminal file manager"
|
||||||
HOMEPAGE="https://github.com/gokcehan/lf"
|
HOMEPAGE="https://github.com/gokcehan/lf"
|
||||||
@@ -25,7 +25,7 @@ src_compile() {
|
|||||||
ldflags+=' -extldflags "-static"'
|
ldflags+=' -extldflags "-static"'
|
||||||
}
|
}
|
||||||
|
|
||||||
go build -ldflags="${ldflags}" || die 'go build failed'
|
ego build -ldflags="${ldflags}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
@@ -45,14 +45,11 @@ src_install() {
|
|||||||
newbashcomp "etc/${PN}.bash" "${PN}"
|
newbashcomp "etc/${PN}.bash" "${PN}"
|
||||||
|
|
||||||
# zsh-completion
|
# zsh-completion
|
||||||
insinto /usr/share/zsh/site-functions
|
newzshcomp "etc/${PN}.zsh" "_${PN}"
|
||||||
newins "etc/${PN}.zsh" "_${PN}"
|
|
||||||
|
|
||||||
# fish-completion
|
# fish-completion
|
||||||
insinto /usr/share/fish/vendor_completions.d
|
dofishcomp "etc/${PN}.fish"
|
||||||
doins "etc/${PN}.fish"
|
dofishcomp "etc/${PN}cd.fish"
|
||||||
insinto /usr/share/fish/vendor_functions.d
|
|
||||||
doins "etc/${PN}cd.fish"
|
|
||||||
|
|
||||||
domenu "${PN}.desktop"
|
domenu "${PN}.desktop"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
# 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"
|
DESCRIPTION="Terminal file manager"
|
||||||
HOMEPAGE="https://github.com/gokcehan/lf"
|
HOMEPAGE="https://github.com/gokcehan/lf"
|
||||||
@@ -25,7 +25,7 @@ src_compile() {
|
|||||||
ldflags+=' -extldflags "-static"'
|
ldflags+=' -extldflags "-static"'
|
||||||
}
|
}
|
||||||
|
|
||||||
go build -ldflags="${ldflags}" || die 'go build failed'
|
ego build -ldflags="${ldflags}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
@@ -45,14 +45,11 @@ src_install() {
|
|||||||
newbashcomp "etc/${PN}.bash" "${PN}"
|
newbashcomp "etc/${PN}.bash" "${PN}"
|
||||||
|
|
||||||
# zsh-completion
|
# zsh-completion
|
||||||
insinto /usr/share/zsh/site-functions
|
newzshcomp "etc/${PN}.zsh" "_${PN}"
|
||||||
newins "etc/${PN}.zsh" "_${PN}"
|
|
||||||
|
|
||||||
# fish-completion
|
# fish-completion
|
||||||
insinto /usr/share/fish/vendor_completions.d
|
dofishcomp "etc/${PN}.fish"
|
||||||
doins "etc/${PN}.fish"
|
dofishcomp "etc/${PN}cd.fish"
|
||||||
insinto /usr/share/fish/vendor_functions.d
|
|
||||||
doins "etc/${PN}cd.fish"
|
|
||||||
|
|
||||||
domenu "${PN}.desktop"
|
domenu "${PN}.desktop"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -25,7 +25,7 @@ src_compile() {
|
|||||||
ldflags+=' -extldflags "-static"'
|
ldflags+=' -extldflags "-static"'
|
||||||
}
|
}
|
||||||
|
|
||||||
go build -ldflags="${ldflags}" || die 'go build failed'
|
ego build -ldflags="${ldflags}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
|||||||
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -23,7 +23,7 @@ src_compile() {
|
|||||||
ldflags+=' -extldflags "-static"'
|
ldflags+=' -extldflags "-static"'
|
||||||
}
|
}
|
||||||
|
|
||||||
go build -ldflags="${ldflags}" || die 'go build failed'
|
ego build -ldflags="${ldflags}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
|||||||
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|||||||
Reference in New Issue
Block a user