[arch-commits] Commit in cosign/repos/community-x86_64 (PKGBUILD PKGBUILD)
Santiago Torres-Arias
sangy at archlinux.org
Tue Apr 27 16:25:07 UTC 2021
Date: Tuesday, April 27, 2021 @ 16:25:07
Author: sangy
Revision: 924807
archrelease: copy trunk to community-x86_64
Added:
cosign/repos/community-x86_64/PKGBUILD
(from rev 924806, cosign/trunk/PKGBUILD)
Deleted:
cosign/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-27 16:24:44 UTC (rev 924806)
+++ PKGBUILD 2021-04-27 16:25:07 UTC (rev 924807)
@@ -1,34 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-
-pkgname=cosign
-pkgver=0.1.0
-pkgrel=2
-pkgdesc="Container Signing with support for ephemeral keys and Sigstore signing"
-arch=('x86_64')
-url="https://github.com/sigstore/cosign"
-license=('Apache')
-makedepends=('go' 'git')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('d3af55eb3d68b41dbefbbd00f18c4bed8a89d7839ff6c6f0da89c9b1a1214d3b')
-
-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"
- mkdir build
- go build -o build/ ./...
-}
-
-test() {
- cd "${pkgname}-${pkgver}"
- make test
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 build/cosign "${pkgdir}/usr/bin/${pkgname}"
- install -Dm755 build/copasetic "${pkgdir}/usr/bin/copasetic"
-}
Copied: cosign/repos/community-x86_64/PKGBUILD (from rev 924806, cosign/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-27 16:25:07 UTC (rev 924807)
@@ -0,0 +1,34 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+
+pkgname=cosign
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="Container Signing with support for ephemeral keys and Sigstore signing"
+arch=('x86_64')
+url="https://github.com/sigstore/cosign"
+license=('Apache')
+makedepends=('go' 'git' 'pcsclite')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('61bd6b0a0eaf646e0e3fe47589b30e4e38a57532abb905e884d65d93557a8e22')
+
+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"
+ mkdir build
+ go build -o build/ ./...
+}
+
+test() {
+ cd "${pkgname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 build/cosign "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm755 build/copasetic "${pkgdir}/usr/bin/copasetic"
+}
More information about the arch-commits
mailing list