[arch-commits] Commit in rekor/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Fri Jul 29 13:02:31 UTC 2022
Date: Friday, July 29, 2022 @ 13:02:31
Author: kpcyrd
Revision: 1259088
archrelease: copy trunk to community-x86_64
Added:
rekor/repos/community-x86_64/PKGBUILD
(from rev 1259087, rekor/trunk/PKGBUILD)
Deleted:
rekor/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-29 13:02:08 UTC (rev 1259087)
+++ PKGBUILD 2022-07-29 13:02:31 UTC (rev 1259088)
@@ -1,48 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-# Maintainer: Christian Rebischke <chris.rebischke at 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"
-}
Copied: rekor/repos/community-x86_64/PKGBUILD (from rev 1259087, rekor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-29 13:02:31 UTC (rev 1259088)
@@ -0,0 +1,48 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=rekor
+pkgver=0.10.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=('90e6ed3cb3a5b36b83b7487d776af53847862eb6358e0024138a23ed35d818c7')
+
+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"
+}
More information about the arch-commits
mailing list