blob: 8f3d8e1d73281298b9dfd39004c1faa7d95aca39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Muhkoenig
pkgname=minikube-bin
pkgver=0.28.0
pkgrel=1
pkgdesc="Minikube is a tool that makes it easy to run Kubernetes locally"
url="https://github.com/kubernetes/minikube"
license=('Apache')
arch=('x86_64')
depends=(
'net-tools'
)
optdepends=(
'kubectl-bin: to manage the cluster'
'virtualbox'
'docker-machine-kvm'
)
makedepends=()
conflicts=('minikube')
source=(minikube_$pkgver::https://storage.googleapis.com/minikube/releases/v$pkgver/minikube-linux-amd64)
sha256sums=('dfe361f86288a4cedcdc3bffbbe5b4716c7ee19cbb82d70696b0f20596a15c65')
package() {
cd "$srcdir"
install -d "$pkgdir/usr/bin"
install -m755 minikube_$pkgver "$pkgdir/usr/bin/minikube"
install -d 755 "$pkgdir/usr/share/bash-completion/completions"
install -d 755 "$pkgdir/usr/share/zsh/site-functions"
"$pkgdir/usr/bin/minikube" completion bash > "$pkgdir/usr/share/bash-completion/completions/minikube"
"$pkgdir/usr/bin/minikube" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_minikube"
}
|