[arch-commits] Commit in minikube/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sat Nov 6 15:50:27 UTC 2021
Date: Saturday, November 6, 2021 @ 15:50:27
Author: shibumi
Revision: 1037620
archrelease: copy trunk to community-x86_64
Added:
minikube/repos/community-x86_64/PKGBUILD
(from rev 1037619, minikube/trunk/PKGBUILD)
Deleted:
minikube/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-06 15:50:21 UTC (rev 1037619)
+++ PKGBUILD 2021-11-06 15:50:27 UTC (rev 1037620)
@@ -1,46 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
-
-pkgname=minikube
-pkgver=1.23.2
-_minikube_commit=0a0ad764652082477c00d51d2475284b5d39ceed
-pkgrel=1
-pkgdesc="A tool that makes it easy to run Kubernetes locally"
-url="https://github.com/kubernetes/minikube"
-license=('Apache')
-arch=('x86_64')
-optdepends=(
- 'kubectl: to manage the cluster'
- 'virtualbox: to use --vm-driver=virtualbox'
-)
-makedepends=('git' 'go' 'go-bindata')
-depends=('glibc')
-source=("git+https://github.com/kubernetes/minikube.git#commit=${_minikube_commit}")
-sha512sums=('SKIP')
-
-prepare() {
- rm -rf "$srcdir/src"
- mkdir -p "$srcdir/src/k8s.io"
- mv -T "$srcdir/minikube" "$srcdir/src/k8s.io/minikube"
- export GOPATH="$srcdir"
- cd "$GOPATH/src/k8s.io/minikube"
- sed -i '/^MINIKUBE_LDFLAGS/ s/$/ -linkmode=external/' Makefile
-}
-
-build() {
- export GOPATH="$srcdir"
- cd "$GOPATH/src/k8s.io/minikube"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
- make
-}
-
-package() {
- install -Dm755 "$srcdir/src/k8s.io/minikube/out/minikube" -t "$pkgdir/usr/bin"
-
- "$pkgdir/usr/bin/minikube" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/minikube"
- "$pkgdir/usr/bin/minikube" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_minikube"
-}
Copied: minikube/repos/community-x86_64/PKGBUILD (from rev 1037619, minikube/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-06 15:50:27 UTC (rev 1037620)
@@ -0,0 +1,46 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgname=minikube
+pkgver=1.24.0
+_minikube_commit=76b94fb3c4e8ac5062daf70d60cf03ddcc0a741b
+pkgrel=1
+pkgdesc="A tool that makes it easy to run Kubernetes locally"
+url="https://github.com/kubernetes/minikube"
+license=('Apache')
+arch=('x86_64')
+optdepends=(
+ 'kubectl: to manage the cluster'
+ 'virtualbox: to use --vm-driver=virtualbox'
+)
+makedepends=('git' 'go' 'go-bindata')
+depends=('glibc')
+source=("git+https://github.com/kubernetes/minikube.git#commit=${_minikube_commit}")
+sha512sums=('SKIP')
+
+prepare() {
+ rm -rf "$srcdir/src"
+ mkdir -p "$srcdir/src/k8s.io"
+ mv -T "$srcdir/minikube" "$srcdir/src/k8s.io/minikube"
+ export GOPATH="$srcdir"
+ cd "$GOPATH/src/k8s.io/minikube"
+ sed -i '/^MINIKUBE_LDFLAGS/ s/$/ -linkmode=external/' Makefile
+}
+
+build() {
+ export GOPATH="$srcdir"
+ cd "$GOPATH/src/k8s.io/minikube"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
+ make
+}
+
+package() {
+ install -Dm755 "$srcdir/src/k8s.io/minikube/out/minikube" -t "$pkgdir/usr/bin"
+
+ "$pkgdir/usr/bin/minikube" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/minikube"
+ "$pkgdir/usr/bin/minikube" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_minikube"
+}
More information about the arch-commits
mailing list