Files
gentoo/app-admin/kubectx/kubectx-0.6.3.ebuild
T
Manuel Rüger cdaee798b8 app-admin/kubectx: Version bump to 0.6.3
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
2019-01-31 17:22:01 +01:00

29 lines
692 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit vcs-snapshot bash-completion-r1
DESCRIPTION="Fast way to switch between clusters and namespaces in kubectl"
HOMEPAGE="https://github.com/ahmetb/kubectx"
SRC_URI="https://github.com/ahmetb/kubectx/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="sys-cluster/kubectl"
src_install() {
dobin kubectx kubens
insinto /usr/share/zsh/site-functions
newins completion/kubectx.zsh _kubectx
newins completion/kubens.zsh _kubens
newbashcomp completion/kubectx.bash kubectx
newbashcomp completion/kubens.bash kubens
}