[arch-commits] Commit in kubectl/repos/community-x86_64 (4 files)
Date: Wednesday, September 9, 2020 @ 17:19:46 Author: shibumi Revision: 701625 archrelease: copy trunk to community-x86_64 Added: kubectl/repos/community-x86_64/PKGBUILD (from rev 701624, kubectl/trunk/PKGBUILD) kubectl/repos/community-x86_64/gotags.patch (from rev 701624, kubectl/trunk/gotags.patch) Deleted: kubectl/repos/community-x86_64/PKGBUILD kubectl/repos/community-x86_64/gotags.patch --+ PKGBUILD | 88 - gotags.patch | 26 2 files changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-09-09 17:19:40 UTC (rev 701624) +++ PKGBUILD2020-09-09 17:19:46 UTC (rev 701625) @@ -1,44 +0,0 @@ -# Maintainer: Christian Rebischke -# Contributor: Ivan Shapovalov -# Contributor: larte -# Contributor: Maxwell Pray a.k.a. Synthead -# Contributor: gun1x - -pkgname=kubectl -pkgdesc="Kubernetes.io client binary" -pkgver=1.18.5 -pkgrel=2 -arch=('x86_64') -url="https://kubernetes.io"; -license=('Apache') -depends=('glibc') -makedepends=('go' '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"; -"gotags.patch") -sha512sums=('9ddcd8b517e3cf78113ef977c365d26f0f27fe9b7fd9410f0214fd38cd38c6de6f37d7fbe2bb398587caceb4ae484afc2fe7ae14b80b70fe728405f3d5bd4115' - '413ddce3e475107db030a04d6ed53d145ead8d13d2d153c4cb6ce635643d7cc922cab90f528b7f8152b43f157c2c441759e6d48511be1a9a16e491e177bf97e8') - -prepare(){ - patch -Np1 < "$srcdir/gotags.patch" -} - -build() { - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - make WHAT=cmd/kubectl GOFLAGS="-buildmode=pie -trimpath" - # 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 701624, kubectl/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-09-09 17:19:46 UTC (rev 701625) @@ -0,0 +1,44 @@ +# Maintainer: Christian Rebischke +# Contributor: Ivan Shapovalov +# Contributor: larte +# Contributor: Maxwell Pray a.k.a. Synthead +# Contributor: gun1x + +pkgname=kubectl +pkgdesc="Kubernetes.io client binary" +pkgver=1.18.6 +pkgrel=1 +arch=('x86_64') +url="https://kubernetes.io"; +license=('Apache') +depends=('glibc') +makedepends=('go' '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"; +"gotags.patch") +sha512sums=('460551dcde2288a7f3b90ad0720cf479cd38d64e386fedf66d580c4cd547a0e1835437437bdfb8b28c6dd707164abf0ddf4ea761d9f110945b80800f71b953b0' + '413ddce3e475107db030a04d6ed53d145ead8d13d2d153c4cb6ce635643d7cc922cab90f528b7f8152b43f157c2c441759e6d48511be1a9a16e491e177bf97e8') + +prepare(){ + patch -Np1 < "$srcdir/gotags.patch" +} + +build() { + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + make WHAT=cmd/kubectl GOFLAGS="-buildmode=pie -trimpath" + # 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" +} Deleted: gotags.patch === --- gotags.patch2020-09-09 17:19:40 UTC (rev 701624) +++ gotags.patch2020-09-09 17:19:46 UTC (rev 701625) @@ -1,13 +0,0 @@ -diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh -index b646bbe2edf..89d0a5cdba1 100755 a/hack/lib/golang.sh -+++ b/hack/lib/golang.sh -@@ -790,7 +790,7 @@ kube::golang::build_binaries() { - - # extract tags if any specified in GOFLAGS -
[arch-commits] Commit in kubectl/repos/community-x86_64 (4 files)
Date: Saturday, September 12, 2020 @ 13:49:08 Author: felixonmars Revision: 703867 archrelease: copy trunk to community-x86_64 Added: kubectl/repos/community-x86_64/PKGBUILD (from rev 703865, kubectl/trunk/PKGBUILD) kubectl/repos/community-x86_64/gotags.patch (from rev 703865, kubectl/trunk/gotags.patch) Deleted: kubectl/repos/community-x86_64/PKGBUILD kubectl/repos/community-x86_64/gotags.patch --+ PKGBUILD | 88 - gotags.patch | 26 2 files changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-09-12 13:49:05 UTC (rev 703866) +++ PKGBUILD2020-09-12 13:49:08 UTC (rev 703867) @@ -1,44 +0,0 @@ -# Maintainer: Christian Rebischke -# Contributor: Ivan Shapovalov -# Contributor: larte -# Contributor: Maxwell Pray a.k.a. Synthead -# Contributor: gun1x - -pkgname=kubectl -pkgdesc="Kubernetes.io client binary" -pkgver=1.18.6 -pkgrel=1 -arch=('x86_64') -url="https://kubernetes.io"; -license=('Apache') -depends=('glibc') -makedepends=('go' '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"; -"gotags.patch") -sha512sums=('460551dcde2288a7f3b90ad0720cf479cd38d64e386fedf66d580c4cd547a0e1835437437bdfb8b28c6dd707164abf0ddf4ea761d9f110945b80800f71b953b0' - '413ddce3e475107db030a04d6ed53d145ead8d13d2d153c4cb6ce635643d7cc922cab90f528b7f8152b43f157c2c441759e6d48511be1a9a16e491e177bf97e8') - -prepare(){ - patch -Np1 < "$srcdir/gotags.patch" -} - -build() { - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - make WHAT=cmd/kubectl GOFLAGS="-buildmode=pie -trimpath" - # 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 703865, kubectl/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-09-12 13:49:08 UTC (rev 703867) @@ -0,0 +1,44 @@ +# Maintainer: Christian Rebischke +# Contributor: Ivan Shapovalov +# Contributor: larte +# Contributor: Maxwell Pray a.k.a. Synthead +# Contributor: gun1x + +pkgname=kubectl +pkgdesc="Kubernetes.io client binary" +pkgver=1.18.7 +pkgrel=1 +arch=('x86_64') +url="https://kubernetes.io"; +license=('Apache') +depends=('glibc') +makedepends=('go' '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"; +"gotags.patch") +sha512sums=('ec84e6c2ec27af163eb4d016e44b47c0421cc68572aece159d5830bd1c1278d8dd523a35d2f33a9a1db6cd7262bae66e15c37d895a50e28fde6cffc6ce95f93b' + '413ddce3e475107db030a04d6ed53d145ead8d13d2d153c4cb6ce635643d7cc922cab90f528b7f8152b43f157c2c441759e6d48511be1a9a16e491e177bf97e8') + +prepare(){ + patch -Np1 < "$srcdir/gotags.patch" +} + +build() { + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + make WHAT=cmd/kubectl GOFLAGS="-buildmode=pie -trimpath" + # 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" +} Deleted: gotags.patch === --- gotags.patch2020-09-12 13:49:05 UTC (rev 703866) +++ gotags.patch2020-09-12 13:49:08 UTC (rev 703867) @@ -1,13 +0,0 @@ -diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh -index b646bbe2edf..89d0a5cdba1 100755 a/hack/lib/golang.sh -+++ b/hack/lib/golang.sh -@@ -790,7 +790,7 @@ kube::golang::build_binaries() { - - # extract tags if any specified in GOFLA
[arch-commits] Commit in kubectl/repos/community-x86_64 (4 files)
Date: Sunday, November 15, 2020 @ 17:31:59 Author: anthraxx Revision: 754614 archrelease: copy trunk to community-x86_64 Added: kubectl/repos/community-x86_64/PKGBUILD (from rev 754613, kubectl/trunk/PKGBUILD) kubectl/repos/community-x86_64/gotags.patch (from rev 754613, kubectl/trunk/gotags.patch) Deleted: kubectl/repos/community-x86_64/PKGBUILD kubectl/repos/community-x86_64/gotags.patch --+ PKGBUILD | 104 - gotags.patch | 26 +++--- 2 files changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-11-15 17:31:55 UTC (rev 754613) +++ PKGBUILD2020-11-15 17:31:59 UTC (rev 754614) @@ -1,52 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Levente Polyak -# Contributor: Ivan Shapovalov -# Contributor: larte -# Contributor: Maxwell Pray a.k.a. Synthead -# Contributor: gun1x - -pkgname=kubectl -pkgdesc="Kubernetes.io client binary" -pkgver=1.19.3 -pkgrel=1 -arch=('x86_64') -url="https://kubernetes.io"; -license=('Apache') -depends=('glibc') -makedepends=('go' 'rsync' 'git') -source=(https://github.com/kubernetes/kubernetes/archive/v${pkgver}/kubernetes-${pkgver}.tar.gz -gotags.patch) -sha512sums=('a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607' - '41a3ac1b849a8cfd824b21f5f3c0344a5b2342c51d33f2a79d3d25731a903e9338864faca495285868669be6926d7a9ce44febf40ecd2d40dec7cb1d79cb40b7') -b2sums=('9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c' - '9ccfe1fcee65e414bba3de3000c1c444590a662259d194c4c6b9fe4ad03dbd687350d7ee1f750b39224f298304eb0b18daa965cde2fcd3bce42e8c903062c30b') - -prepare() { - cd kubernetes-${pkgver} - patch -Np1 < ../gotags.patch - sed -E 's/(CGO_ENABLED)=0/\1=1/g' -i hack/lib/golang.sh -} - -build() { - cd kubernetes-${pkgver} - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw" - export GOLDFLAGS="-linkmode=external" - - make WHAT=cmd/kubectl - hack/update-generated-docs.sh -} - -package() { - cd kubernetes-${pkgver} - install -Dm755 _output/bin/kubectl -t "$pkgdir/usr/bin" - install -Dm644 docs/man/man1/kubectl* -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" -} - -# vim: ts=2 sw=2 et: Copied: kubectl/repos/community-x86_64/PKGBUILD (from rev 754613, kubectl/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-11-15 17:31:59 UTC (rev 754614) @@ -0,0 +1,52 @@ +# Maintainer: Christian Rebischke +# Maintainer: Levente Polyak +# Contributor: Ivan Shapovalov +# Contributor: larte +# Contributor: Maxwell Pray a.k.a. Synthead +# Contributor: gun1x + +pkgname=kubectl +pkgdesc="Kubernetes.io client binary" +pkgver=1.19.4 +pkgrel=1 +arch=('x86_64') +url="https://kubernetes.io"; +license=('Apache') +depends=('glibc') +makedepends=('go' 'rsync' 'git') +source=(https://github.com/kubernetes/kubernetes/archive/v${pkgver}/kubernetes-${pkgver}.tar.gz +gotags.patch) +sha512sums=('b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da' + '41a3ac1b849a8cfd824b21f5f3c0344a5b2342c51d33f2a79d3d25731a903e9338864faca495285868669be6926d7a9ce44febf40ecd2d40dec7cb1d79cb40b7') +b2sums=('a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a' + '9ccfe1fcee65e414bba3de3000c1c444590a662259d194c4c6b9fe4ad03dbd687350d7ee1f750b39224f298304eb0b18daa965cde2fcd3bce42e8c903062c30b') + +prepare() { + cd kubernetes-${pkgver} + patch -Np1 < ../gotags.patch + sed -E 's/(CGO_ENABLED)=0/\1=1/g' -i hack/lib/golang.sh +} + +build() { + cd kubernetes-${pkgver} + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw" + export GOLDFLAGS="-linkmode=external" + + make WHAT=cmd/kubectl + hack/update-generated-docs.sh +} + +package() { + cd kubernetes-${pkgver} + install -Dm755 _output/bin/kubectl -t "$pkgdir/usr/bin" + install -Dm644 docs/man/man1/kubectl* -t "$pkgdir/usr/share/man/man1" + + "$pkgdir/usr/bin/kubectl" completion bash | install -Dm644
[arch-commits] Commit in kubectl/repos/community-x86_64 (4 files)
Date: Friday, September 18, 2020 @ 18:51:51 Author: anthraxx Revision: 710720 archrelease: copy trunk to community-x86_64 Added: kubectl/repos/community-x86_64/PKGBUILD (from rev 710719, kubectl/trunk/PKGBUILD) kubectl/repos/community-x86_64/gotags.patch (from rev 710719, kubectl/trunk/gotags.patch) Deleted: kubectl/repos/community-x86_64/PKGBUILD kubectl/repos/community-x86_64/gotags.patch --+ PKGBUILD | 96 ++--- gotags.patch | 26 +++ 2 files changed, 65 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-09-18 18:51:38 UTC (rev 710719) +++ PKGBUILD2020-09-18 18:51:51 UTC (rev 710720) @@ -1,44 +0,0 @@ -# Maintainer: Christian Rebischke -# Contributor: Ivan Shapovalov -# Contributor: larte -# Contributor: Maxwell Pray a.k.a. Synthead -# Contributor: gun1x - -pkgname=kubectl -pkgdesc="Kubernetes.io client binary" -pkgver=1.18.7 -pkgrel=1 -arch=('x86_64') -url="https://kubernetes.io"; -license=('Apache') -depends=('glibc') -makedepends=('go' '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"; -"gotags.patch") -sha512sums=('ec84e6c2ec27af163eb4d016e44b47c0421cc68572aece159d5830bd1c1278d8dd523a35d2f33a9a1db6cd7262bae66e15c37d895a50e28fde6cffc6ce95f93b' - '413ddce3e475107db030a04d6ed53d145ead8d13d2d153c4cb6ce635643d7cc922cab90f528b7f8152b43f157c2c441759e6d48511be1a9a16e491e177bf97e8') - -prepare(){ - patch -Np1 < "$srcdir/gotags.patch" -} - -build() { - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - make WHAT=cmd/kubectl GOFLAGS="-buildmode=pie -trimpath" - # 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 710719, kubectl/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-09-18 18:51:51 UTC (rev 710720) @@ -0,0 +1,52 @@ +# Maintainer: Christian Rebischke +# Maintainer: Levente Polyak +# Contributor: Ivan Shapovalov +# Contributor: larte +# Contributor: Maxwell Pray a.k.a. Synthead +# Contributor: gun1x + +pkgname=kubectl +pkgdesc="Kubernetes.io client binary" +pkgver=1.19.2 +pkgrel=1 +arch=('x86_64') +url="https://kubernetes.io"; +license=('Apache') +depends=('glibc') +makedepends=('go' 'rsync' 'git') +source=(https://github.com/kubernetes/kubernetes/archive/v${pkgver}/kubernetes-${pkgver}.tar.gz +gotags.patch) +sha512sums=('7a4e0efdf0e262c662aa87bd77d226275761cb774cb77796846385b41937ce2d8d5e1f9fbae4804c7a0fbc6e558227661c453b2d5bd1b20a5c4913c31eae1519' + '41a3ac1b849a8cfd824b21f5f3c0344a5b2342c51d33f2a79d3d25731a903e9338864faca495285868669be6926d7a9ce44febf40ecd2d40dec7cb1d79cb40b7') +b2sums=('814f43f90f248ad428e7c68995a44a9c69722b8215bab3ab9237b06dcee53297a3f57cb2cf68b9e3d246e49944f3246e7d8d3587ab0abff4b8e2fb72e42152c1' + '9ccfe1fcee65e414bba3de3000c1c444590a662259d194c4c6b9fe4ad03dbd687350d7ee1f750b39224f298304eb0b18daa965cde2fcd3bce42e8c903062c30b') + +prepare() { + cd kubernetes-${pkgver} + patch -Np1 < ../gotags.patch + sed -E 's/(CGO_ENABLED)=0/\1=1/g' -i hack/lib/golang.sh +} + +build() { + cd kubernetes-${pkgver} + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw" + export GOLDFLAGS="-linkmode=external" + + make WHAT=cmd/kubectl + hack/update-generated-docs.sh +} + +package() { + cd kubernetes-${pkgver} + install -Dm755 _output/bin/kubectl -t "$pkgdir/usr/bin" + install -Dm644 docs/man/man1/kubectl* -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" +} + +# vim: ts=2 sw=2 et: Deleted: gotags.patch === --- gotags.patch2020-09-18 18:51:3
[arch-commits] Commit in kubectl/repos/community-x86_64 (4 files)
Date: Friday, October 16, 2020 @ 21:03:21 Author: anthraxx Revision: 725015 archrelease: copy trunk to community-x86_64 Added: kubectl/repos/community-x86_64/PKGBUILD (from rev 725014, kubectl/trunk/PKGBUILD) kubectl/repos/community-x86_64/gotags.patch (from rev 725014, kubectl/trunk/gotags.patch) Deleted: kubectl/repos/community-x86_64/PKGBUILD kubectl/repos/community-x86_64/gotags.patch --+ PKGBUILD | 104 - gotags.patch | 26 +++--- 2 files changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-10-16 21:03:17 UTC (rev 725014) +++ PKGBUILD2020-10-16 21:03:21 UTC (rev 725015) @@ -1,52 +0,0 @@ -# Maintainer: Christian Rebischke -# Maintainer: Levente Polyak -# Contributor: Ivan Shapovalov -# Contributor: larte -# Contributor: Maxwell Pray a.k.a. Synthead -# Contributor: gun1x - -pkgname=kubectl -pkgdesc="Kubernetes.io client binary" -pkgver=1.19.2 -pkgrel=1 -arch=('x86_64') -url="https://kubernetes.io"; -license=('Apache') -depends=('glibc') -makedepends=('go' 'rsync' 'git') -source=(https://github.com/kubernetes/kubernetes/archive/v${pkgver}/kubernetes-${pkgver}.tar.gz -gotags.patch) -sha512sums=('7a4e0efdf0e262c662aa87bd77d226275761cb774cb77796846385b41937ce2d8d5e1f9fbae4804c7a0fbc6e558227661c453b2d5bd1b20a5c4913c31eae1519' - '41a3ac1b849a8cfd824b21f5f3c0344a5b2342c51d33f2a79d3d25731a903e9338864faca495285868669be6926d7a9ce44febf40ecd2d40dec7cb1d79cb40b7') -b2sums=('814f43f90f248ad428e7c68995a44a9c69722b8215bab3ab9237b06dcee53297a3f57cb2cf68b9e3d246e49944f3246e7d8d3587ab0abff4b8e2fb72e42152c1' - '9ccfe1fcee65e414bba3de3000c1c444590a662259d194c4c6b9fe4ad03dbd687350d7ee1f750b39224f298304eb0b18daa965cde2fcd3bce42e8c903062c30b') - -prepare() { - cd kubernetes-${pkgver} - patch -Np1 < ../gotags.patch - sed -E 's/(CGO_ENABLED)=0/\1=1/g' -i hack/lib/golang.sh -} - -build() { - cd kubernetes-${pkgver} - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw" - export GOLDFLAGS="-linkmode=external" - - make WHAT=cmd/kubectl - hack/update-generated-docs.sh -} - -package() { - cd kubernetes-${pkgver} - install -Dm755 _output/bin/kubectl -t "$pkgdir/usr/bin" - install -Dm644 docs/man/man1/kubectl* -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" -} - -# vim: ts=2 sw=2 et: Copied: kubectl/repos/community-x86_64/PKGBUILD (from rev 725014, kubectl/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-10-16 21:03:21 UTC (rev 725015) @@ -0,0 +1,52 @@ +# Maintainer: Christian Rebischke +# Maintainer: Levente Polyak +# Contributor: Ivan Shapovalov +# Contributor: larte +# Contributor: Maxwell Pray a.k.a. Synthead +# Contributor: gun1x + +pkgname=kubectl +pkgdesc="Kubernetes.io client binary" +pkgver=1.19.3 +pkgrel=1 +arch=('x86_64') +url="https://kubernetes.io"; +license=('Apache') +depends=('glibc') +makedepends=('go' 'rsync' 'git') +source=(https://github.com/kubernetes/kubernetes/archive/v${pkgver}/kubernetes-${pkgver}.tar.gz +gotags.patch) +sha512sums=('a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607' + '41a3ac1b849a8cfd824b21f5f3c0344a5b2342c51d33f2a79d3d25731a903e9338864faca495285868669be6926d7a9ce44febf40ecd2d40dec7cb1d79cb40b7') +b2sums=('9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c' + '9ccfe1fcee65e414bba3de3000c1c444590a662259d194c4c6b9fe4ad03dbd687350d7ee1f750b39224f298304eb0b18daa965cde2fcd3bce42e8c903062c30b') + +prepare() { + cd kubernetes-${pkgver} + patch -Np1 < ../gotags.patch + sed -E 's/(CGO_ENABLED)=0/\1=1/g' -i hack/lib/golang.sh +} + +build() { + cd kubernetes-${pkgver} + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw" + export GOLDFLAGS="-linkmode=external" + + make WHAT=cmd/kubectl + hack/update-generated-docs.sh +} + +package() { + cd kubernetes-${pkgver} + install -Dm755 _output/bin/kubectl -t "$pkgdir/usr/bin" + install -Dm644 docs/man/man1/kubectl* -t "$pkgdir/usr/share/man/man1" + + "$pkgdir/usr/bin/kubectl" completion bash | install -Dm644 /