gentoo-ebuilds/sys-cluster/kubeletctl/kubeletctl-1.13.ebuild
Zac Medico c37a56d823
sys-cluster/kubeletctl: add 1.13
Signed-off-by: Zac Medico <zmedico@gentoo.org>
2025-01-12 18:25:16 -08:00

26 lines
587 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="A client for kubelet"
HOMEPAGE="https://github.com/cyberark/kubeletctl"
SRC_URI="https://github.com/cyberark/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT+=" test"
PATCHES=("${S}/go-mod-sum.patch")
src_compile() {
go build -ldflags "-s -w" || die
}
src_install() {
dobin ${PN}
dodoc README.md
}