[arch-commits] Commit in cosign/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Thu Jul 22 21:43:36 UTC 2021
Date: Thursday, July 22, 2021 @ 21:43:36
Author: shibumi
Revision: 984077
archrelease: copy trunk to community-x86_64
Added:
cosign/repos/community-x86_64/PKGBUILD
(from rev 984076, cosign/trunk/PKGBUILD)
Deleted:
cosign/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 37 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-22 21:43:29 UTC (rev 984076)
+++ PKGBUILD 2021-07-22 21:43:36 UTC (rev 984077)
@@ -1,35 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-
-pkgname=cosign
-pkgver=0.3.1
-pkgrel=2
-pkgdesc="Container Signing with support for ephemeral keys and Sigstore signing"
-arch=('x86_64')
-url="https://github.com/sigstore/cosign"
-license=('Apache')
-depends=('pcsclite')
-makedepends=('go' 'git')
-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"
-}
Copied: cosign/repos/community-x86_64/PKGBUILD (from rev 984076, cosign/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-22 21:43:36 UTC (rev 984077)
@@ -0,0 +1,37 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=cosign
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Container Signing with support for ephemeral keys and Sigstore signing"
+arch=('x86_64')
+url="https://github.com/sigstore/cosign"
+license=('Apache')
+depends=('pcsclite')
+makedepends=('go' 'git')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('763c2a8ac42518771ad47b6ec3c5ce16b47a7cffc265cd36397c81165fef89fd04fbcdbdff26bb7ed5267b46227e56049971acfa111197c61ed7fe7a0d0d0ab5')
+b2sums=('2ad7137186782743269ed4c1e1b03cd7f39e552d3a89d596053d07c952c599a7c23d38de60f68eece8162c67610b07cb19156b3568bd635b73f0fc535e865724')
+
+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/ ./...
+}
+
+check() {
+ 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