[arch-commits] Commit in kustomize/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daurnimator
daurnimator at archlinux.org
Sun Dec 13 08:07:40 UTC 2020
Date: Sunday, December 13, 2020 @ 08:07:40
Author: daurnimator
Revision: 773873
archrelease: copy trunk to community-x86_64
Added:
kustomize/repos/community-x86_64/PKGBUILD
(from rev 773872, kustomize/trunk/PKGBUILD)
Deleted:
kustomize/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-13 08:06:51 UTC (rev 773872)
+++ PKGBUILD 2020-12-13 08:07:40 UTC (rev 773873)
@@ -1,56 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=kustomize
-pkgver=3.8.7
-pkgrel=1
-pkgdesc="Template-free customization of Kubernetes YAML manifests"
-arch=('x86_64')
-url="https://github.com/kubernetes-sigs/kustomize"
-license=('Apache')
-makedepends=('go')
-depends=('glibc')
-source=("https://github.com/kubernetes-sigs/kustomize/archive/kustomize/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('23272b3e7ff688f09825b5d636eb2d55dc8eb8cffe2fef0eba1c5c64604db552abd955f81bd09f84cd670db1f9a36e4b87141fa18bc89d83cb8e0da554a2a1fb')
-
-build(){
- cd "kustomize-kustomize-v${pkgver}/kustomize"
-
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags " \
- -X sigs.k8s.io/kustomize/api/provenance.version=${pkgver} \
- -X sigs.k8s.io/kustomize/api/provenance.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \
- -extldflags ${LDFLAGS}" \
- .
-}
-
-check(){
- cd "kustomize-kustomize-v${pkgver}/kustomize"
-
- go test ./...
-}
-
-package(){
- cd "kustomize-kustomize-v${pkgver}/kustomize"
-
- # install completions
- mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
- ./kustomize completion bash > "${pkgdir}/usr/share/bash-completion/completions/kustomize"
- mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
- ./kustomize completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_kustomize"
- mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d"
- ./kustomize completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/kustomize.fish"
-
- # install binary
- install -D kustomize "${pkgdir}/usr/bin/kustomize"
-}
-
-# vim: ts=2 sw=2 et:
Copied: kustomize/repos/community-x86_64/PKGBUILD (from rev 773872, kustomize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-13 08:07:40 UTC (rev 773873)
@@ -0,0 +1,56 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=kustomize
+pkgver=3.9.0
+pkgrel=1
+pkgdesc="Template-free customization of Kubernetes YAML manifests"
+arch=('x86_64')
+url="https://github.com/kubernetes-sigs/kustomize"
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("https://github.com/kubernetes-sigs/kustomize/archive/kustomize/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('d773a5358993dfe6f72cc24f9b869b24885c25b58e713d619b5f15693da448e959b85b261a7bb02a53fea63099ba472b355a88a72b3d2d011519cfd05fa7684b')
+
+build(){
+ cd "kustomize-kustomize-v${pkgver}/kustomize"
+
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags " \
+ -X sigs.k8s.io/kustomize/api/provenance.version=${pkgver} \
+ -X sigs.k8s.io/kustomize/api/provenance.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \
+ -extldflags ${LDFLAGS}" \
+ .
+}
+
+check(){
+ cd "kustomize-kustomize-v${pkgver}/kustomize"
+
+ go test ./...
+}
+
+package(){
+ cd "kustomize-kustomize-v${pkgver}/kustomize"
+
+ # install completions
+ mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
+ ./kustomize completion bash > "${pkgdir}/usr/share/bash-completion/completions/kustomize"
+ mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
+ ./kustomize completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_kustomize"
+ mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d"
+ ./kustomize completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/kustomize.fish"
+
+ # install binary
+ install -D kustomize "${pkgdir}/usr/bin/kustomize"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list