[arch-commits] Commit in minikube/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Jul 5 14:44:19 UTC 2020


    Date: Sunday, July 5, 2020 @ 14:44:18
  Author: foxboron
Revision: 657847

upgpkg: minikube 1.11.0-2

Updated to current go package guidelines

Modified:
  minikube/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 14:39:44 UTC (rev 657846)
+++ PKGBUILD	2020-07-05 14:44:18 UTC (rev 657847)
@@ -4,7 +4,7 @@
 pkgname=minikube
 pkgver=1.11.0
 _minikube_commit=57e2f55f47effe9ce396cea42a1e0eb4f611ebbd
-pkgrel=1
+pkgrel=2
 pkgdesc="A tool that makes it easy to run Kubernetes locally"
 url="https://github.com/kubernetes/minikube"
 license=('Apache')
@@ -13,7 +13,7 @@
   'kubectl: to manage the cluster'
   'virtualbox: to use --vm-driver=virtualbox'
 )
-makedepends=('git' 'go-pie' 'go-bindata')
+makedepends=('git' 'go' 'go-bindata')
 depends=('glibc')
 source=("git+https://github.com/kubernetes/minikube.git#commit=${_minikube_commit}")
 sha512sums=('SKIP')
@@ -28,6 +28,11 @@
 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"
   make
 }
 


More information about the arch-commits mailing list