mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-08 06:09:43 +02:00
26 lines
587 B
Bash
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
|
|
}
|