[arch-commits] Commit in kustomize/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daurnimator
daurnimator at archlinux.org
Wed Jun 2 11:15:10 UTC 2021
Date: Wednesday, June 2, 2021 @ 11:15:10
Author: daurnimator
Revision: 953164
archrelease: copy trunk to community-x86_64
Added:
kustomize/repos/community-x86_64/PKGBUILD
(from rev 953163, kustomize/trunk/PKGBUILD)
Deleted:
kustomize/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-02 11:14:48 UTC (rev 953163)
+++ PKGBUILD 2021-06-02 11:15:10 UTC (rev 953164)
@@ -1,57 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=kustomize
-pkgver=4.1.2
-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')
-optdepends=('helm')
-source=("https://github.com/kubernetes-sigs/kustomize/archive/kustomize/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('767d3b0bcd83312b0775422cb234eb2925102e9ad5266dd2856db9cf997e7ad3424c86606246cbe2d65aa3b8d1ab65f643cde802d53a405feb77b89f0ca5d539')
-
-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 953163, kustomize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-02 11:15:10 UTC (rev 953164)
@@ -0,0 +1,57 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=kustomize
+pkgver=4.1.3
+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')
+optdepends=('helm')
+source=("https://github.com/kubernetes-sigs/kustomize/archive/kustomize/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('bc0b6bb7e8a213fd80350211c86eceab0a6068a768e5452ddc2096fb8e7eae2b45e2e4a2df5160cea60f8a51a6de17314e7b4f7b0a63884dddbd551b55e5b02d')
+
+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