dev-go/dns: Correcting install path

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-09-23 23:24:59 +02:00
parent 2767158b9c
commit a553e0354e
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
1 changed files with 8 additions and 3 deletions

View File

@ -5,7 +5,7 @@ EAPI=7
EGO_PN="github.com/miekg/${PN}"
inherit go-module
inherit golang-base go-module
EGO_SUM=(
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2"
@ -52,6 +52,11 @@ RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
env GOBIN="${S}/bin" go install ./... ||
die "compile failed"
go build -o ${PN} . || die
}
src_install() {
insinto $(get_golibdir)
doins dns
einstalldocs
}