diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-14 01:05:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-14 01:05:40 +0100 |
commit | 76cba73c47c8694e74377004634daca18f2d9c08 (patch) | |
tree | 468603ebdc189bcfae77696162761b3be936baea /app-admin/kubectx/kubectx-0.5.0.ebuild | |
parent | 6957f5c65b02bba533954eabc0b62f5de36be206 (diff) |
gentoo resync : 14.04.2018
Diffstat (limited to 'app-admin/kubectx/kubectx-0.5.0.ebuild')
-rw-r--r-- | app-admin/kubectx/kubectx-0.5.0.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-admin/kubectx/kubectx-0.5.0.ebuild b/app-admin/kubectx/kubectx-0.5.0.ebuild new file mode 100644 index 000000000000..bcdb869a0ef6 --- /dev/null +++ b/app-admin/kubectx/kubectx-0.5.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 +} |