mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-db/sqlcmd: make DOCS local to avoid variable pollution
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2023 Gentoo Authors
|
# Copyright 2023-2024 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
|
||||||
@@ -19,11 +19,6 @@ LICENSE="MIT"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
"README.md"
|
|
||||||
"SECURITY.md"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
ego build -o "${PN}" -ldflags="-X main.version=${PV}" ./cmd/modern
|
ego build -o "${PN}" -ldflags="-X main.version=${PV}" ./cmd/modern
|
||||||
}
|
}
|
||||||
@@ -39,5 +34,9 @@ src_install() {
|
|||||||
dofishcomp "completions/${PN}.fish"
|
dofishcomp "completions/${PN}.fish"
|
||||||
dozshcomp "completions/_${PN}"
|
dozshcomp "completions/_${PN}"
|
||||||
|
|
||||||
|
local DOCS=(
|
||||||
|
"README.md"
|
||||||
|
"SECURITY.md"
|
||||||
|
)
|
||||||
einstalldocs
|
einstalldocs
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2023 Gentoo Authors
|
# Copyright 2023-2024 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
|
||||||
@@ -34,9 +34,10 @@ src_install() {
|
|||||||
dofishcomp "completions/${PN}.fish"
|
dofishcomp "completions/${PN}.fish"
|
||||||
dozshcomp "completions/_${PN}"
|
dozshcomp "completions/_${PN}"
|
||||||
|
|
||||||
DOCS=(
|
local DOCS=(
|
||||||
"README.md"
|
"README.md"
|
||||||
"SECURITY.md"
|
"SECURITY.md"
|
||||||
)
|
)
|
||||||
|
|
||||||
einstalldocs
|
einstalldocs
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user