[arch-commits] Commit in kustomize/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daurnimator
daurnimator at archlinux.org
Sat Nov 14 23:37:13 UTC 2020
Date: Saturday, November 14, 2020 @ 23:37:12
Author: daurnimator
Revision: 754263
archrelease: copy trunk to community-x86_64
Added:
kustomize/repos/community-x86_64/PKGBUILD
(from rev 754262, kustomize/trunk/PKGBUILD)
Deleted:
kustomize/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-14 23:36:25 UTC (rev 754262)
+++ PKGBUILD 2020-11-14 23:37:12 UTC (rev 754263)
@@ -1,56 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=kustomize
-pkgver=3.8.6
-pkgrel=2
-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=('35837895b5fabc16ff70e870dad29abf051585ebd3120f26a59b3ac5148aab6a3bdabfc55ee03d428701ba98ce95fad2c007f853e9292edf47ad2a8ba3f74031')
-
-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 754262, kustomize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-14 23:37:12 UTC (rev 754263)
@@ -0,0 +1,56 @@
+# 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:
More information about the arch-commits
mailing list