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

Christian Rebischke shibumi at archlinux.org
Fri Mar 29 14:17:20 UTC 2019


    Date: Friday, March 29, 2019 @ 14:17:19
  Author: shibumi
Revision: 446020

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: kubectl/repos/community-x86_64/PKGBUILD (from rev 446019, kubectl/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-03-29 14:17:19 UTC (rev 446020)
@@ -0,0 +1,31 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: 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.14.0
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://kubernetes.io"
+license=('Apache')
+makedepends=('go' 'rsync')
+conflicts=('kubernetes>=1.4.6')
+#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")
+sha256sums=('3aee1df7035ad0d5aea356a548768ad8528b1a54db7436fc0c4404ff76698a2a')
+
+build() {
+  make WHAT=cmd/kubectl
+  hack/generate-docs.sh
+}
+
+package() {
+  install -Dm755 _output/bin/kubectl -t "$pkgdir/usr/bin"
+  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