gentoo-ebuilds/sys-cluster/zookeepercli/zookeepercli-1.0.11.ebuild
Zac Medico be4cc6321e
sys-cluster/zookeepercli: Bump to version 1.0.11 from kt315 upstream
Change upstream to github.com/kt315/zookeepercli who added
a go module build and sent it to openark here:

https://github.com/openark/zookeepercli/pull/2

Closes: https://bugs.gentoo.org/937726
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2024-08-11 10:53:48 -07:00

22 lines
534 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper"
HOMEPAGE="https://github.com/kt315/zookeepercli"
SRC_URI="https://github.com/kt315/zookeepercli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
LICENSE+=" BSD"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
ego build -ldflags "-X main.Version=${PV}" -o ./bin/${PN}
}
src_install() {
dobin bin/${PN}
dodoc README.md
}