[arch-commits] Commit in cosign/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at gemini.archlinux.org
Sun Aug 7 03:14:30 UTC 2022


    Date: Sunday, August 7, 2022 @ 03:14:30
  Author: shibumi
Revision: 1260487

archrelease: copy trunk to community-x86_64

Added:
  cosign/repos/community-x86_64/PKGBUILD
    (from rev 1260486, cosign/trunk/PKGBUILD)
Deleted:
  cosign/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-07 03:14:19 UTC (rev 1260486)
+++ PKGBUILD	2022-08-07 03:14:30 UTC (rev 1260487)
@@ -1,66 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=cosign
-pkgver=1.9.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')
-checkdepends=('go-tools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('1a2a7b32aa0d4f2ad90113a3b5923390d29564d3ddc5e9c8539c8ad646541734164942e93d56321b9ff78910532911272a0e3ee007c2066e40656caac17d6c16')
-b2sums=('c6b9c617e288b6104d683a1b1ce8c22897e122a70429dd3db2a4643b91d4cf492c1fcd016ac4bcae32de51464aea538babbb04a8fe7d3b3275310adba528d945')
-
-build(){
-  cd "${pkgname}-${pkgver}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export CGO_ENABLED=1
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
-  mkdir build
-  go build -o build/ ./cmd/cosign
-  go build -o build/ ./cmd/sget
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  GODEBUG=x509sha1=1 make test # we have to allow sha1 certificates for tests
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  install -Dm755 build/cosign "${pkgdir}/usr/bin/${pkgname}"
-
-  # build bash completions
-  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
-  "$pkgdir"/usr/bin/cosign completion bash > "${pkgdir}/usr/share/bash-completion/completions/cosign"
-
-  # build zsh completions
-  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
-  "$pkgdir"/usr/bin/cosign completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_cosign"
-
-  # build fish completions
-  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
-  "$pkgdir"/usr/bin/cosign completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/cosign.fish"
-
-  install -Dm755 build/sget "${pkgdir}/usr/bin/sget"
-
-  # build bash completions
-  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
-  "$pkgdir"/usr/bin/sget completion bash > "${pkgdir}/usr/share/bash-completion/completions/sget"
-
-  # build zsh completions
-  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
-  "$pkgdir"/usr/bin/sget completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_sget"
-
-  # build fish completions
-  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
-  "$pkgdir"/usr/bin/sget completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/sget.fish"
-}
-

Copied: cosign/repos/community-x86_64/PKGBUILD (from rev 1260486, cosign/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-07 03:14:30 UTC (rev 1260487)
@@ -0,0 +1,66 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=cosign
+pkgver=1.10.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')
+depends=('pcsclite')
+makedepends=('go' 'git')
+checkdepends=('go-tools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('6ae94b8d0572f7240457ad208e3ae45a7ca8bcde95b1b10c3bd0a5bae4801eb2d3c4f9b18162d4c157cbd0fe2269dd9a909323d8c2a216ce2cf52f98e95e6af9')
+b2sums=('13af0a02958bc7578d68e28fb3bea2c30fe584ebaf0aef006590dfda04af44c4d454c2d8b6c4ed6dc11381a61759cc74b817bb2eedda0eae4d9eb3b822cea661')
+
+build(){
+  cd "${pkgname}-${pkgver}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_ENABLED=1
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
+  mkdir build
+  go build -o build/ ./cmd/cosign
+  go build -o build/ ./cmd/sget
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  GODEBUG=x509sha1=1 make test # we have to allow sha1 certificates for tests
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dm755 build/cosign "${pkgdir}/usr/bin/${pkgname}"
+
+  # build bash completions
+  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
+  "$pkgdir"/usr/bin/cosign completion bash > "${pkgdir}/usr/share/bash-completion/completions/cosign"
+
+  # build zsh completions
+  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
+  "$pkgdir"/usr/bin/cosign completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_cosign"
+
+  # build fish completions
+  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
+  "$pkgdir"/usr/bin/cosign completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/cosign.fish"
+
+  install -Dm755 build/sget "${pkgdir}/usr/bin/sget"
+
+  # build bash completions
+  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
+  "$pkgdir"/usr/bin/sget completion bash > "${pkgdir}/usr/share/bash-completion/completions/sget"
+
+  # build zsh completions
+  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
+  "$pkgdir"/usr/bin/sget completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_sget"
+
+  # build fish completions
+  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
+  "$pkgdir"/usr/bin/sget completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/sget.fish"
+}
+



More information about the arch-commits mailing list