[arch-commits] Commit in kubectl/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sat Jan 25 21:55:13 UTC 2020
Date: Saturday, January 25, 2020 @ 21:55:13
Author: shibumi
Revision: 555571
upgpkg: kubectl 1.17.2-1 Fix #64777
Modified:
kubectl/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-25 21:53:43 UTC (rev 555570)
+++ PKGBUILD 2020-01-25 21:55:13 UTC (rev 555571)
@@ -6,27 +6,28 @@
pkgname=kubectl
pkgdesc="Kubernetes.io client binary"
-pkgver=1.17.0
+pkgver=1.17.2
pkgrel=1
arch=('x86_64')
url="https://kubernetes.io"
license=('Apache')
+depends=('glibc')
makedepends=('go-pie' 'rsync' 'git')
#source=("git+https://github.com/kubernetes/kubernetes#tag=v${pkgver}")
source=("kubernetes-$pkgver.tar.gz::https://dl.k8s.io/v$pkgver/kubernetes-src.tar.gz")
-sha512sums=('5424576d7f7936df15243fee0036e7936d2d6224e98ac805ce96cdf7b83a7c5b66dfffc8823d7bc0c17c700fa3c01841208e8cf89be91d237d12e18f3d2f307c')
+sha512sums=('117222d9590e17e5f932644e54299cf35c870b7969b12aff51392ba958a298793fee54d7346c64d973a92b1d94a9271fb28ecc68157023fa2424f74a647bacff')
build() {
- # this line remains commented, until kubernetes' build system is go 1.13 ready
- #make WHAT=cmd/kubectl
- cd cmd/kubectl
- go build -trimpath -ldflags "-extldflags ${LDFLAGS}" -o kubectl
+ make WHAT=cmd/kubectl
+ # we don't need this anymore, but let's keep it.
+ #cd cmd/kubectl
+ #go build -trimpath -ldflags "-extldflags ${LDFLAGS}" -o kubectl
}
package() {
- install -Dm755 cmd/kubectl/kubectl -t "$pkgdir/usr/bin"
- # man page generation fails with go 1.13.1 right now
- #install -Dm644 docs/man/man1/* -t "$pkgdir/usr/share/man/man1"
+ install -Dm755 _output/bin/kubectl -t "$pkgdir/usr/bin"
+ # man page generation still seems to fail with 1.17.2 :(
+ # install -Dm644 docs/man/man1/* -t "$pkgdir/usr/share/man/man1"
"$pkgdir/usr/bin/kubectl" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/kubectl"
"$pkgdir/usr/bin/kubectl" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_kubectl"
More information about the arch-commits
mailing list