diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-11-12 14:17:02 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-11-12 14:18:42 -0800 |
commit | 58420ed207dc5509aa97cc81bea75009d1e2ceae (patch) | |
tree | 23b44f5a65feeaaccd42a38b31ddebb5f2ecd7f3 /sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild | |
parent | sys-fs/btrfs-progs: bump up to 4.8.3 (diff) | |
download | gentoo-58420ed207dc5509aa97cc81bea75009d1e2ceae.tar.gz gentoo-58420ed207dc5509aa97cc81bea75009d1e2ceae.tar.bz2 gentoo-58420ed207dc5509aa97cc81bea75009d1e2ceae.zip |
sys-cluster/zookeepercli: skip useless files /usr/lib/go-gentoo
Nothing used the files in /usr/lib/go-gentoo anyway.
Package-Manager: portage-2.3.2
Diffstat (limited to 'sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild')
-rw-r--r-- | sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild index eacef9f19a92..82a87751b236 100644 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -inherit golang-build +EAPI=6 KEYWORDS="~amd64" EGO_PN="github.com/outbrain/zookeepercli/..." @@ -14,7 +13,7 @@ https://github.com/samuel/go-zookeeper/archive/218e9c81c0dd8b3b18172b2bbfad92cc7 DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper" HOMEPAGE="https://${EGO_PN%/*}" LICENSE="Apache-2.0" -SLOT="0/${PVR}" +SLOT="0" IUSE="" get_archive_go_package() { @@ -51,20 +50,11 @@ src_unpack() { } src_compile() { - GOPATH="${WORKDIR}/${P}" \ + GOPATH="${S}" \ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die } src_install() { + dobin bin/${PN} dodoc README.md - golang_install_pkgs -} - -golang_install_pkgs() { - insopts -m0644 -p # preserve timestamps for bug 551486 - dobin "${S}/bin/zookeepercli" - insinto "$(dirname "${EPREFIX}$(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 "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}")" - doins -r "${S}"/src/${EGO_PN%/*} } |