[arch-commits] Commit in kustomize/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Fri Dec 17 23:15:38 UTC 2021
Date: Friday, December 17, 2021 @ 23:15:37
Author: shibumi
Revision: 1076645
archrelease: copy trunk to community-x86_64
Added:
kustomize/repos/community-x86_64/PKGBUILD
(from rev 1076644, kustomize/trunk/PKGBUILD)
Deleted:
kustomize/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-17 23:15:32 UTC (rev 1076644)
+++ PKGBUILD 2021-12-17 23:15:37 UTC (rev 1076645)
@@ -1,58 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=kustomize
-pkgver=4.4.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')
-optdepends=('helm')
-source=("https://github.com/kubernetes-sigs/kustomize/archive/kustomize/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('adc316f946df7bc8ed4a43af70f1517ccdd98c89912b808918ca0e70ad2303cfa1ea32f68643a8aa9c65bd31f85b6ba6fc4e3fafab936636b60a1efff11a3ae6')
-b2sums=('35762ef1a4ad85fc0d0f9d813fbbcde7ada3247d31ad962daa1190a3698b8f772e244ca98a3f23b48f2b7a228d48f245470339e8194be09f58b2057f8a00d7bb')
-
-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 1076644, kustomize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-17 23:15:37 UTC (rev 1076645)
@@ -0,0 +1,58 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=kustomize
+pkgver=4.4.1
+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=('ca17d501f775ca04420c59a863e79c27c1b4e2003659bab602dd5a0c5ad6f7f0bec1ad78176419d32db67d5ab74c7653af7d139dc87cd163fbbda09545c7641a')
+b2sums=('8dd9467dc1eb847e69a0ba48cb51467ba84c7a1c6148010d1a87aaf14bf196264ebc378ce2c7e3d340502cd7cd9b9a7f2665af7040058d837b3a043f21da9cae')
+
+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