diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-21 18:40:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-21 18:40:29 +0000 |
commit | 3003897133b1bcfe9a241c2708e938903879aee3 (patch) | |
tree | ec4add2e3bd3ddd3a79aa2825c6f3eb40073d0cf /sys-cluster/k9scli/k9scli-0.27.3.ebuild | |
parent | 9d5a20176934a287f9e0970722062db5242d30fa (diff) |
gentoo auto-resync : 21:03:2023 - 18:40:29
Diffstat (limited to 'sys-cluster/k9scli/k9scli-0.27.3.ebuild')
-rw-r--r-- | sys-cluster/k9scli/k9scli-0.27.3.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-cluster/k9scli/k9scli-0.27.3.ebuild b/sys-cluster/k9scli/k9scli-0.27.3.ebuild new file mode 100644 index 000000000000..dd3efe8e2250 --- /dev/null +++ b/sys-cluster/k9scli/k9scli-0.27.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +# update this on every bump +GIT_COMMIT=7c76691c + +DESCRIPTION="terminal based UI to manage kubernetes clusters" +HOMEPAGE="https://k9scli.io" +SRC_URI="https://github.com/derailed/k9s/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}/k9s-${PV}" + +src_prepare() { + default + # I will look into opening an upstream PR to do this. + sed -i -e 's/-w -s -X/-X/' Makefile || die +} + +src_compile() { + emake GIT_REV=${GIT_COMMIT} VERSION=v${PV} build +} + +src_install() { + dobin execs/k9s + dodoc -r change_logs plugins skins README.md +} |