[arch-commits] Commit in kubectl/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Sat Jan 25 21:55:19 UTC 2020


    Date: Saturday, January 25, 2020 @ 21:55:19
  Author: shibumi
Revision: 555572

archrelease: copy trunk to community-x86_64

Added:
  kubectl/repos/community-x86_64/PKGBUILD
    (from rev 555571, kubectl/trunk/PKGBUILD)
Deleted:
  kubectl/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-25 21:55:13 UTC (rev 555571)
+++ PKGBUILD	2020-01-25 21:55:19 UTC (rev 555572)
@@ -1,33 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
-# Contributor: larte <lauri.arte at gmail.com>
-# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
-# Contributor: gun1x <gunix at gunix.cloud>
-
-pkgname=kubectl
-pkgdesc="Kubernetes.io client binary"
-pkgver=1.17.0
-pkgrel=1
-arch=('x86_64')
-url="https://kubernetes.io"
-license=('Apache')
-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')
-
-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
-}
-
-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"
-
-  "$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"
-}

Copied: kubectl/repos/community-x86_64/PKGBUILD (from rev 555571, kubectl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-25 21:55:19 UTC (rev 555572)
@@ -0,0 +1,34 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+# Contributor: larte <lauri.arte at gmail.com>
+# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
+# Contributor: gun1x <gunix at gunix.cloud>
+
+pkgname=kubectl
+pkgdesc="Kubernetes.io client binary"
+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=('117222d9590e17e5f932644e54299cf35c870b7969b12aff51392ba958a298793fee54d7346c64d973a92b1d94a9271fb28ecc68157023fa2424f74a647bacff')
+
+build() {
+  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 _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