[arch-commits] Commit in cmctl/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Fri Aug 12 18:49:44 UTC 2022
Date: Friday, August 12, 2022 @ 18:49:44
Author: shibumi
Revision: 1265669
archrelease: copy trunk to community-x86_64
Added:
cmctl/repos/community-x86_64/PKGBUILD
(from rev 1265668, cmctl/trunk/PKGBUILD)
Deleted:
cmctl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-12 18:49:38 UTC (rev 1265668)
+++ PKGBUILD 2022-08-12 18:49:44 UTC (rev 1265669)
@@ -1,59 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: ml <>
-pkgname=cmctl
-pkgver=1.8.2
-pkgrel=1
-pkgdesc='Automatically provision and manage TLS certificates in Kubernetes'
-arch=('x86_64' 'aarch64')
-url='https://github.com/jetstack/cert-manager'
-license=('Apache')
-depends=('kubectl')
-makedepends=('git' 'go')
-groups=('kubectl-plugins')
-source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('81a296347c469f38b5a4db8d8e2642c5eb5464c0f23f48021beae14268b586b147c9b7e0c73eb2168937f3eb889c1cbb8fe6f3825456a6b7465c620bc38284ae')
-b2sums=('6de959b28bcc258e6ee91e7e9cbb84a92cc571b05bfd04cb72549a534e652933ccaba3a33a3124e7f0accb4f405a51a6ef5ed8102db888e25ad08833a9ad0ed9')
-
-build() {
- local _x _commit
- _commit=$(bsdcat "$pkgname-$pkgver.tar.gz" | git get-tar-commit-id)
- _x=(
- AppVersion="v$pkgver"
- AppGitCommit="${_commit:?}"
- AppGitState="clean"
- )
-
- cd cert-manager-"$pkgver"
- export CGO_ENABLED=1
- export CGO_LDFLAGS="$LDFLAGS"
- export CGO_CFLAGS="$CFLAGS"
- export CGO_CPPFLAGS="$CPPFLAGS"
- export CGO_CXXFLAGS="$CXXFLAGS"
- export GOFLAGS='-buildmode=pie -trimpath -modcacherw -mod=readonly'
- go build -ldflags="-linkmode=external ${_x[*]/#/-X=github.com/jetstack/cert-manager/pkg/util.}
- -X github.com/jetstack/cert-manager/cmd/ctl/pkg/build.name=cmctl
- -X github.com/jetstack/cert-manager/cmd/ctl/pkg/build/commands.registerCompletion=true" ./cmd/ctl
-}
-
-check() {
- cd cert-manager-"$pkgver"
- # we don't want e2e and other tests that explicitly want bazel
- go test -short ./cmd/ctl/...
-}
-
-package() {
- cd cert-manager-"$pkgver"
- install -Dm755 ctl "$pkgdir"/usr/bin/cmctl
-
- # build bash completions
- #mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
- #"$pkgdir"/usr/bin/cmctl completion bash > "${pkgdir}/usr/share/bash-completion/completions/cmctl"
-
- ## build zsh completions
- #mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
- #"$pkgdir"/usr/bin/cmctl completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_cmctl"
-
- ## build fish completions
- #mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
- #"$pkgdir"/usr/bin/cmctl completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/cmctl.fish"
-}
Copied: cmctl/repos/community-x86_64/PKGBUILD (from rev 1265668, cmctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-12 18:49:44 UTC (rev 1265669)
@@ -0,0 +1,59 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: ml <>
+pkgname=cmctl
+pkgver=1.9.1
+pkgrel=1
+pkgdesc='Automatically provision and manage TLS certificates in Kubernetes'
+arch=('x86_64' 'aarch64')
+url='https://github.com/jetstack/cert-manager'
+license=('Apache')
+depends=('kubectl')
+makedepends=('git' 'go')
+groups=('kubectl-plugins')
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('0d2b157035fa316597fcf442d0ec7fa8348d320ad0beda59daf1d313c1f7eda91d0a486365bd9d0ceae2f315025306a8a007e4b377fc9970944515c1c91b5ccc')
+b2sums=('f9b5effa6494401f241e7990b8efbb5ac5929d82f38674a8139083afd362432826a8365e4273bb4002a3926077c41418285f84d650c24bef49ba87b4854f6a6d')
+
+build() {
+ local _x _commit
+ _commit=$(bsdcat "$pkgname-$pkgver.tar.gz" | git get-tar-commit-id)
+ _x=(
+ AppVersion="v$pkgver"
+ AppGitCommit="${_commit:?}"
+ AppGitState="clean"
+ )
+
+ cd cert-manager-"$pkgver"
+ export CGO_ENABLED=1
+ export CGO_LDFLAGS="$LDFLAGS"
+ export CGO_CFLAGS="$CFLAGS"
+ export CGO_CPPFLAGS="$CPPFLAGS"
+ export CGO_CXXFLAGS="$CXXFLAGS"
+ export GOFLAGS='-buildmode=pie -trimpath -modcacherw -mod=readonly'
+ go build -ldflags="-linkmode=external ${_x[*]/#/-X=github.com/jetstack/cert-manager/pkg/util.}
+ -X github.com/jetstack/cert-manager/cmd/ctl/pkg/build.name=cmctl
+ -X github.com/jetstack/cert-manager/cmd/ctl/pkg/build/commands.registerCompletion=true" ./cmd/ctl
+}
+
+check() {
+ cd cert-manager-"$pkgver"
+ # we don't want e2e and other tests that explicitly want bazel
+ go test -short ./cmd/ctl/...
+}
+
+package() {
+ cd cert-manager-"$pkgver"
+ install -Dm755 ctl "$pkgdir"/usr/bin/cmctl
+
+ # build bash completions
+ #mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
+ #"$pkgdir"/usr/bin/cmctl completion bash > "${pkgdir}/usr/share/bash-completion/completions/cmctl"
+
+ ## build zsh completions
+ #mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
+ #"$pkgdir"/usr/bin/cmctl completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_cmctl"
+
+ ## build fish completions
+ #mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
+ #"$pkgdir"/usr/bin/cmctl completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/cmctl.fish"
+}
More information about the arch-commits
mailing list