dev-db/sqlcmd: make DOCS local to avoid variable pollution

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer committed 2024-07-18 16:34:46 +02:00
1 parent 8d0990b583
commit a08b91c39b
2 files changed
+11 -11

No files matched your search

+5 -6
View File
@@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,11 +19,6 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DOCS=(
"README.md"
"SECURITY.md"
)
src_compile() {
ego build -o "${PN}" -ldflags="-X main.version=${PV}" ./cmd/modern
}
@@ -39,5 +34,9 @@ src_install() {
dofishcomp "completions/${PN}.fish"
dozshcomp "completions/_${PN}"
local DOCS=(
"README.md"
"SECURITY.md"
)
einstalldocs
}
+6 -5
View File
@@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,9 +34,10 @@ src_install() {
dofishcomp "completions/${PN}.fish"
dozshcomp "completions/_${PN}"
DOCS=(
"README.md"
"SECURITY.md"
)
local DOCS=(
"README.md"
"SECURITY.md"
)
einstalldocs
}