Date: Sunday, April 19, 2020 @ 14:24:48 Author: shibumi Revision: 616500
archrelease: copy trunk to community-x86_64 Added: kubectl/repos/community-x86_64/PKGBUILD (from rev 616499, kubectl/trunk/PKGBUILD) Deleted: kubectl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-04-19 14:24:40 UTC (rev 616499) +++ PKGBUILD 2020-04-19 14:24:48 UTC (rev 616500) @@ -1,34 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> -# Contributor: Ivan Shapovalov <inte...@intelfx.name> -# Contributor: larte <lauri.a...@gmail.com> -# Contributor: Maxwell Pray a.k.a. Synthead <synth...@gmail.com> -# Contributor: gun1x <gunix@gunix.cloud> - -pkgname=kubectl -pkgdesc="Kubernetes.io client binary" -pkgver=1.17.3 -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=('e09b1010d1673faeba6684d28405ee0963c1b42a28da4b00c38169b0422ab86eadf01efdc190066b1556026f5cdc02214cb1237bdfc6e4db332f2c367fa8da8f') - -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" -} Copied: kubectl/repos/community-x86_64/PKGBUILD (from rev 616499, kubectl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-04-19 14:24:48 UTC (rev 616500) @@ -0,0 +1,34 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> +# Contributor: Ivan Shapovalov <inte...@intelfx.name> +# Contributor: larte <lauri.a...@gmail.com> +# Contributor: Maxwell Pray a.k.a. Synthead <synth...@gmail.com> +# Contributor: gun1x <gunix@gunix.cloud> + +pkgname=kubectl +pkgdesc="Kubernetes.io client binary" +pkgver=1.18.0 +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=('fb42cf133355ef18f67c8c4bb555aa1f284906c06e21fa41646e086d34ece774e9d547773f201799c0c703ce48d4d0e62c6ba5b2a4d081e12a339a423e111e52') + +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" +}