summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuhkoenig2018-09-05 20:40:41 +0200
committerMuhkoenig2018-09-05 20:40:41 +0200
commit5dbbec552e5f65828bceafd6d4815f07540fa9e3 (patch)
tree6b65c42e1cd54f68f23d0f52b3aac5752d17a953
parent89bce5129de3e733edfd118778cef5f36371bf2f (diff)
downloadaur-5dbbec552e5f65828bceafd6d4815f07540fa9e3.tar.gz
TASK: use @intelfx optimizations
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD26
2 files changed, 17 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 665f5a410fc..ce37a9fe747 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
pkgbase = minikube-bin
pkgdesc = A tool that makes it easy to run Kubernetes locally
pkgver = 0.28.2
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/kubernetes/minikube
arch = x86_64
license = Apache
- depends = net-tools
optdepends = kubectl-bin: to manage the cluster
- optdepends = virtualbox
- optdepends = docker-machine-kvm
- optdepends = docker-machine-driver-kvm2
+ optdepends = crictl: to use --vm-driver=none
+ optdepends = virtualbox: to use --vm-driver=virtualbox (default)
+ optdepends = docker-machine-kvm: to use --vm-driver=kvm
+ optdepends = docker-machine-driver-kvm2: to use --vm-driver=kvm2
+ provides = minikube
conflicts = minikube
source = minikube_0.28.2::https://storage.googleapis.com/minikube/releases/v0.28.2/minikube-linux-amd64
sha256sums = 3c84872ffa5ddbce472062fb548f9b3a25af72587d35243e12f18d86aaa6a085
diff --git a/PKGBUILD b/PKGBUILD
index bad9659914d..1236c382955 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,31 +2,27 @@
pkgname=minikube-bin
pkgver=0.28.2
-pkgrel=4
+pkgrel=5
pkgdesc="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'
- 'docker-machine-driver-kvm2'
+ 'crictl: to use --vm-driver=none'
+ 'virtualbox: to use --vm-driver=virtualbox (default)'
+ 'docker-machine-kvm: to use --vm-driver=kvm'
+ 'docker-machine-driver-kvm2: to use --vm-driver=kvm2'
)
makedepends=()
+provides=('minikube')
conflicts=('minikube')
-
source=(minikube_$pkgver::https://storage.googleapis.com/minikube/releases/v$pkgver/minikube-linux-amd64)
sha256sums=('3c84872ffa5ddbce472062fb548f9b3a25af72587d35243e12f18d86aaa6a085')
+
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"
+ install -Dm755 minikube_$pkgver "$pkgdir/usr/bin/minikube"
+
+ "$pkgdir/usr/bin/minikube" completion bash | install -Dm 644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/minikube"
+ "$pkgdir/usr/bin/minikube" completion zsh | install -Dm 644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_minikube"
}