Date: Sunday, July 10, 2022 @ 16:03:59 Author: kpcyrd Revision: 1249304
archrelease: copy trunk to community-x86_64 Added: rekor/repos/community-x86_64/PKGBUILD (from rev 1249303, rekor/trunk/PKGBUILD) Deleted: rekor/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-10 16:03:42 UTC (rev 1249303) +++ PKGBUILD 2022-07-10 16:03:59 UTC (rev 1249304) @@ -1,48 +0,0 @@ -# Maintainer: Santiago Torres-Arias <santi...@archlinux.org> -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> - -pkgname=rekor -pkgver=0.9.0 -pkgrel=1 -pkgdesc="Signature Transparency Log -- Sigstore client and server tools" -arch=('x86_64') -url="https://github.com/sigstore/rekor" -license=('Apache') -makedepends=('go' 'git') -checkdepends=('openssh') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/rekor/archive/v${pkgver}.tar.gz") -sha256sums=('a2c8792e7abe71eb237ac4bb55dea8e0836fead27ecb1bdef4e2c7e049bb9cc8') - -build() { - cd "${pkgname}-${pkgver}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw" - go build -o cmd/rekor-cli/rekor-cli cmd/rekor-cli/main.go - go build -o cmd/rekor-server/rekor-server cmd/rekor-server/main.go -} - -check() { - cd "${pkgname}-${pkgver}" - go test -v ./... -} - -package() { - cd "${pkgname}-${pkgver}" - install -Dsm755 cmd/rekor-cli/rekor-cli "${pkgdir}/usr/bin/rekor-cli" - install -Dsm755 cmd/rekor-server/rekor-server "${pkgdir}/usr/bin/rekor-server" - - install -d "${pkgdir}/usr/share/bash-completion/completions" \ - "${pkgdir}/usr/share/zsh/site-functions" \ - "${pkgdir}/usr/share/fish/vendor_completions.d" - - "${pkgdir}/usr/bin/rekor-cli" completion bash > "${pkgdir}/usr/share/bash-completion/completions/rekor-cli" - "${pkgdir}/usr/bin/rekor-cli" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_rekor-cli" - "${pkgdir}/usr/bin/rekor-cli" completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/rekor-cli.fish" - - "${pkgdir}/usr/bin/rekor-server" completion bash > "${pkgdir}/usr/share/bash-completion/completions/rekor-server" - "${pkgdir}/usr/bin/rekor-server" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_rekor-server" - "${pkgdir}/usr/bin/rekor-server" completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/rekor-server.fish" -} Copied: rekor/repos/community-x86_64/PKGBUILD (from rev 1249303, rekor/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-10 16:03:59 UTC (rev 1249304) @@ -0,0 +1,48 @@ +# Maintainer: Santiago Torres-Arias <santi...@archlinux.org> +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> + +pkgname=rekor +pkgver=0.9.1 +pkgrel=1 +pkgdesc="Signature Transparency Log -- Sigstore client and server tools" +arch=('x86_64') +url="https://github.com/sigstore/rekor" +license=('Apache') +makedepends=('go' 'git') +checkdepends=('openssh') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/rekor/archive/v${pkgver}.tar.gz") +sha256sums=('7a2653a6cbc21bd54858958ed7666f55963c0879b2eaed28d8a00a3e8814a696') + +build() { + cd "${pkgname}-${pkgver}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw" + go build -o cmd/rekor-cli/rekor-cli cmd/rekor-cli/main.go + go build -o cmd/rekor-server/rekor-server cmd/rekor-server/main.go +} + +check() { + cd "${pkgname}-${pkgver}" + go test -v ./... +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dsm755 cmd/rekor-cli/rekor-cli "${pkgdir}/usr/bin/rekor-cli" + install -Dsm755 cmd/rekor-server/rekor-server "${pkgdir}/usr/bin/rekor-server" + + install -d "${pkgdir}/usr/share/bash-completion/completions" \ + "${pkgdir}/usr/share/zsh/site-functions" \ + "${pkgdir}/usr/share/fish/vendor_completions.d" + + "${pkgdir}/usr/bin/rekor-cli" completion bash > "${pkgdir}/usr/share/bash-completion/completions/rekor-cli" + "${pkgdir}/usr/bin/rekor-cli" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_rekor-cli" + "${pkgdir}/usr/bin/rekor-cli" completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/rekor-cli.fish" + + "${pkgdir}/usr/bin/rekor-server" completion bash > "${pkgdir}/usr/share/bash-completion/completions/rekor-server" + "${pkgdir}/usr/bin/rekor-server" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_rekor-server" + "${pkgdir}/usr/bin/rekor-server" completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/rekor-server.fish" +}