[arch-commits] Commit in kustomize/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Sat Nov 7 10:10:56 UTC 2020


    Date: Saturday, November 7, 2020 @ 10:10:55
  Author: shibumi
Revision: 745562

archrelease: copy trunk to community-x86_64

Added:
  kustomize/repos/community-x86_64/PKGBUILD
    (from rev 745561, kustomize/trunk/PKGBUILD)
Deleted:
  kustomize/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  103 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 56 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-07 10:10:47 UTC (rev 745561)
+++ PKGBUILD	2020-11-07 10:10:55 UTC (rev 745562)
@@ -1,47 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=kustomize
-pkgver=3.8.6
-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=('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 -D kustomize "${pkgdir}/usr/bin/kustomize"
-}
-
-# vim: ts=2 sw=2 et:

Copied: kustomize/repos/community-x86_64/PKGBUILD (from rev 745561, kustomize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-07 10:10:55 UTC (rev 745562)
@@ -0,0 +1,56 @@
+# 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:



More information about the arch-commits mailing list