Date: Saturday, August 7, 2021 @ 14:32:36 Author: shibumi Revision: 994662
archrelease: copy trunk to community-x86_64 Added: kubectl-cert-manager/repos/community-x86_64/PKGBUILD (from rev 994661, kubectl-cert-manager/trunk/PKGBUILD) Deleted: kubectl-cert-manager/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-07 14:32:10 UTC (rev 994661) +++ PKGBUILD 2021-08-07 14:32:36 UTC (rev 994662) @@ -1,45 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> -# Contributor: ml <> -pkgname=kubectl-cert-manager -pkgver=1.4.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=('703778c2c7bbba8f2c335f4221d4e41b50b3f08a6123e258349b811d1820a40d0c82408c90e2262d6a2d142f92b8fcbbee1174be690877c657cec2abf478a0cb') -b2sums=('fb8d2613922f87222fd0d2e9b038b8f0ca574816d0b406e935ef2b4188b519422d0063d810e8c83551614b4f934cc24e84635bbe3d71a56d2dfab351e83c3a9c') - -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.}" ./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/kubectl-cert_manager -} Copied: kubectl-cert-manager/repos/community-x86_64/PKGBUILD (from rev 994661, kubectl-cert-manager/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-07 14:32:36 UTC (rev 994662) @@ -0,0 +1,45 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> +# Contributor: ml <> +pkgname=kubectl-cert-manager +pkgver=1.4.3 +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=('5d653aa06f72542c0a907959abee834c627a07a33137bf662f8800ad5f282c24d6ec2c1d9dbbf2a3ee17deab4dd10f7ed1d241f796dba4bb159803ccb5ef2ce2') +b2sums=('13a787cb0149dff4d70d15d934b7b98483fb40ea281af0a4404f3de499f0b4fa255908e22402750f6be7ab6afa9abd532df316fd50a40261085f91f49baf29dd') + +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.}" ./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/kubectl-cert_manager +}