Date: Monday, June 20, 2022 @ 20:17:46 Author: kpcyrd Revision: 1238713
archrelease: copy trunk to community-x86_64 Added: rekor/repos/community-x86_64/PKGBUILD (from rev 1238712, rekor/trunk/PKGBUILD) Deleted: rekor/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-20 20:17:28 UTC (rev 1238712) +++ PKGBUILD 2022-06-20 20:17:46 UTC (rev 1238713) @@ -1,48 +0,0 @@ -# Maintainer: Santiago Torres-Arias <santi...@archlinux.org> -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> - -pkgname=rekor -pkgver=0.8.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=('61d329c65344f8222e35c6f421a0931bc8c8be3d1abb0516f2998c3e2dab7f52') - -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 1238712, rekor/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-20 20:17:46 UTC (rev 1238713) @@ -0,0 +1,48 @@ +# Maintainer: Santiago Torres-Arias <santi...@archlinux.org> +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> + +pkgname=rekor +pkgver=0.8.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=('f4b2f4f8cdf1f38abdff7d4e1d9bdbfa5937fded00c04ebc33fd76c2d3b641ba') + +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" +}