blob: 82e2a28257351a81c9972cac43fd223e959e72ea (
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
32
33
34
35
|
# Contributor:
# Maintainer: Magicloud <magiclouds@gmail.com>
pkgname=minikube
pkgver=0.35.0
pkgrel=1
pkgdesc="Minikube is a tool that makes it easy to run Kubernetes locally"
url="https://github.com/kubernetes/minikube"
arch="all !mips !mips64" # fails to build on mips
license="Apache"
makedepends="make go git bash"
source="$pkgname-$pkgver.tar.gz::https://github.com/kubernetes/minikube/archive/v$pkgver.tar.gz"
prepare () {
rm -rf "$srcdir/src"
mkdir -p "$srcdir/src/k8s.io"
mv "$srcdir/minikube-$pkgver" "$srcdir/src/k8s.io/minikube"
}
build () {
export GOPATH="$srcdir"
cd "$GOPATH/src/k8s.io/minikube"
make
}
package () {
install -Dm755 "$srcdir/src/k8s.io/minikube/out/minikube" -t "$pkgdir/usr/bin"
}
check () {
export GOPATH="$srcdir"
cd "$GOPATH/src/k8s.io/minikube"
make test
}
sha512sums="ef5158ebf42090570e5bef3ff7cfe3536c091356119925029510a0cec93fa0deba780964fc576e54ccb50336d05d95782a405b3161e0ff2fa0544d82ae0d7682 minikube-0.35.0.tar.gz"
|