Date: Wednesday, July 14, 2021 @ 01:52:21
  Author: shibumi
Revision: 976924

archrelease: copy trunk to community-x86_64

Added:
  rekor/repos/community-x86_64/PKGBUILD
    (from rev 976923, rekor/trunk/PKGBUILD)
Deleted:
  rekor/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   63 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 35 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-07-14 01:52:14 UTC (rev 976923)
+++ PKGBUILD    2021-07-14 01:52:21 UTC (rev 976924)
@@ -1,28 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santi...@archlinux.org>
-
-pkgname=rekor
-pkgver=0.1.1
-pkgrel=1
-pkgdesc="Signature Transparency Log -- Sigstore client and server tools"
-arch=('x86_64')
-url="https://github.com/sigstore/rekor-cli";
-license=('Apache')
-makedepends=('go' 'git')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/rekor/archive/v${pkgver}.tar.gz";)
-sha256sums=('554bb6e23f1f071a1d887975e3870dae2bfacb9b754cee5116c4c5ee4594c88e')
-
-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 . ./...
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  install -Dm755 cli "${pkgdir}/usr/bin/${pkgname}-cli"
-  install -Dm755 server "${pkgdir}/usr/bin/${pkgname}-server"
-}

Copied: rekor/repos/community-x86_64/PKGBUILD (from rev 976923, 
rekor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-07-14 01:52:21 UTC (rev 976924)
@@ -0,0 +1,35 @@
+# Maintainer: Santiago Torres-Arias <santi...@archlinux.org>
+# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org>
+
+pkgname=rekor
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Signature Transparency Log -- Sigstore client and server tools"
+arch=('x86_64')
+url="https://github.com/sigstore/rekor-cli";
+license=('Apache')
+makedepends=('go' 'git' 'openssh') # for tests
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/rekor/archive/v${pkgver}.tar.gz";)
+sha256sums=('e08a859bf7887b03191337c1b0c2594f0df49c71fa7d50f838842ac7f375921e')
+
+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"
+}

Reply via email to