[arch-commits] Commit in cmctl/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sat Jan 29 02:21:55 UTC 2022
Date: Saturday, January 29, 2022 @ 02:21:55
Author: shibumi
Revision: 1118657
archrelease: copy trunk to community-x86_64
Added:
cmctl/repos/community-x86_64/PKGBUILD
(from rev 1118656, cmctl/trunk/PKGBUILD)
Deleted:
cmctl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-29 02:21:49 UTC (rev 1118656)
+++ PKGBUILD 2022-01-29 02:21:55 UTC (rev 1118657)
@@ -1,59 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: ml <>
-pkgname=cmctl
-pkgver=1.6.1
-pkgrel=2
-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=('9975f7624b790e15764272cfed3ba314e5e4467a9300c2448137c907ae602e3290e98402493bd50c42f193b299dfa4d3ed67d2b897fd5d752aeb3fd319af83c9')
-b2sums=('ac1d89cc3651961651eb73848fb3bcbc66f30401ecebb0f5b15661fb9c256ead2e6362bf268e201c33e95995284ef75f395e87138e44caff785f3d59bb399d23')
-
-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 1118656, cmctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-29 02:21:55 UTC (rev 1118657)
@@ -0,0 +1,59 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: ml <>
+pkgname=cmctl
+pkgver=1.7.0
+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=('338cbe4c04844e7303587c5726cf1065e0e591b295286adf3107b56896247f9715ed52ccc42db749ae7c3feee1c36fe97ec8d70894ccc09c887fe3eaf2d65623')
+b2sums=('b1516292c7c96f5cc0fa2c5457bff1fe7c7c125022ba86bd221a973204e8741e38ef1ac34e3d68cd603f5715f6b3003104d0f4eb4a9a8fc4b10232f6cad5f2cc')
+
+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