kubernetes: move kubectl to subpackage

This commit is contained in:
Daniel Santana 2018-05-26 21:32:50 -03:00 committed by Enno Boland
parent a54f3a5ab8
commit 17c3a114a1
2 changed files with 11 additions and 0 deletions

1
srcpkgs/kubectl Symbolic link
View file

@ -0,0 +1 @@
kubernetes/

View file

@ -6,6 +6,7 @@ build_style=go
nocross=yes
only_for_archs="x86_64 x86_64-musl"
hostmakedepends="rsync git go-bindata"
depends="kubectl"
short_desc="Container Cluster Manager for Docker"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
@ -43,3 +44,12 @@ do_install() {
vlicense LICENSE
}
kubectl_package() {
short_desc="Controls the Kubernetes cluster manager"
pkg_install() {
vmove usr/bin/kubectl
vmove usr/share/man/man1/kubectl*
vlicense LICENSE
}
}