summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-02-21 14:51:29 -0800
committerZac Medico <zmedico@gentoo.org>2016-02-21 14:51:29 -0800
commita096597110a720a1183925ca04f88438cf067e67 (patch)
tree1a196e01596ddd29e531e8f6d66a72f773cda045 /app-admin/vault
parentapp-admin/vault: remove old version 0.1.2-r1 (diff)
downloadgentoo-a096597110a720a1183925ca04f88438cf067e67.tar.gz
gentoo-a096597110a720a1183925ca04f88438cf067e67.tar.bz2
gentoo-a096597110a720a1183925ca04f88438cf067e67.zip
app-admin/vault: use get_golibdir for library installation
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-admin/vault')
-rw-r--r--app-admin/vault/vault-0.4.1.ebuild4
-rw-r--r--app-admin/vault/vault-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/app-admin/vault/vault-0.4.1.ebuild b/app-admin/vault/vault-0.4.1.ebuild
index 98fbc4e8b747..7e0d80b73b3e 100644
--- a/app-admin/vault/vault-0.4.1.ebuild
+++ b/app-admin/vault/vault-0.4.1.ebuild
@@ -83,8 +83,8 @@ src_install() {
rm -rf "${S}"/src/${x}
done < <(find "${S}"/src/${EGO_PN%/*} -mindepth 1 -maxdepth 1 -type d -print0)
insopts -m0644 -p # preserve timestamps for bug 551486
- insinto $(dirname /usr/lib/go/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*})
+ insinto $(dirname "$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")
doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}
- insinto $(dirname /usr/lib/go/src/${EGO_PN%/*})
+ insinto $(dirname "$(get_golibdir)/src/${EGO_PN%/*}")
doins -r "${S}"/src/${EGO_PN%/*}
}
diff --git a/app-admin/vault/vault-9999.ebuild b/app-admin/vault/vault-9999.ebuild
index 4c8a514f461e..531205c6e23a 100644
--- a/app-admin/vault/vault-9999.ebuild
+++ b/app-admin/vault/vault-9999.ebuild
@@ -98,8 +98,8 @@ src_install() {
rm -rf "${WORKDIR}"/src/${x}
done < <(find "${WORKDIR}"/src/${GO_PN} -mindepth 1 -maxdepth 1 -type d -print0)
insopts -m0644 -p # preserve timestamps for bug 551486
- insinto /usr/lib/go/pkg/$(go env GOOS)_$(go env GOARCH)/${GO_PN%/*}
+ insinto "$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${GO_PN%/*}"
doins -r "${WORKDIR}"/pkg/$(go env GOOS)_$(go env GOARCH)/${GO_PN}
- insinto /usr/lib/go/src/${GO_PN%/*}
+ insinto "$(get_golibdir)/src/${GO_PN%/*}"
doins -r "${WORKDIR}"/src/${GO_PN}
}