New package: minikube-0.26.1

Closes: #13163 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Daniel Santana 2018-04-21 00:25:53 -03:00 committed by Jürgen Buchmüller
parent 4f9901f8f5
commit 6cb75d5886
No known key found for this signature in database
GPG key ID: 6764EC32352D0647
3 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1 @@
minikube

View file

@ -0,0 +1,9 @@
You might also need install one of the following for Minikube to work:
* virtualbox-ose (for VirtualBox driver)
* docker-machine-driver-kvm2 (for KVM2 driver)
For bash completions, install the 'bash-completion' package.
For zsh completions, put the following code in your ~/.zshrc:
source /usr/share/minikube/completion.zsh

44
srcpkgs/minikube/template Normal file
View file

@ -0,0 +1,44 @@
# Template file for 'minikube'
pkgname=minikube
version=0.26.1
revision=1
only_for_archs="x86_64 x86_64-musl"
build_style=go
hostmakedepends="git go-bindata python pkg-config"
makedepends="libvirt-devel"
go_import_path="k8s.io/minikube"
short_desc="Minikube is a tool that makes it easy to run Kubernetes locally"
maintainer="Daniel Santana <daniel@santana.tech>"
license="Apache-2.0"
homepage="https://github.com/kubernetes/minikube"
do_fetch() {
# We must clone it instead of downloading the tarball because the build
# process expects the directory to be a git repository
git clone -b v${version} https://github.com/kubernetes/minikube $wrksrc
}
do_build() {
make
make out/docker-machine-driver-kvm2
out/minikube completion bash > completion.bash
out/minikube completion zsh > completion.zsh
}
do_install() {
vbin out/minikube
vbin out/docker-machine-driver-kvm2
vinstall completion.bash 644 usr/share/bash-completion/completions minikube
vinstall completion.zsh 644 usr/share/$pkgname
vlicense LICENSE
}
docker-machine-driver-kvm2_package() {
short_desc="Minikube-maintained KVM driver for docker-machine"
depends="libvirt"
pkg_install() {
vmove usr/bin/docker-machine-driver-kvm2
vlicense LICENSE
}
}