[arch-commits] Commit in cosign/trunk (PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Fri Nov 12 21:16:37 UTC 2021
Date: Friday, November 12, 2021 @ 21:16:37
Author: shibumi
Revision: 1044838
upgpkg: cosign 1.3.1-1
Modified:
cosign/trunk/PKGBUILD
----------+
PKGBUILD | 33 ++++++++++++++++++++++++++++++---
1 file changed, 30 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-12 21:01:56 UTC (rev 1044837)
+++ PKGBUILD 2021-11-12 21:16:37 UTC (rev 1044838)
@@ -2,7 +2,7 @@
# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
pkgname=cosign
-pkgver=1.3.0
+pkgver=1.3.1
pkgrel=1
pkgdesc="Container Signing with support for ephemeral keys and Sigstore signing"
arch=('x86_64')
@@ -11,8 +11,8 @@
depends=('pcsclite')
makedepends=('go' 'git')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('d9ef11e22e7cb874ba8d0b4af9eabefbcc42341acd1d5c2645905fb420801fe8ff6e5f580548a9b562a5f5f5db71a9c8cb50e9a013d903b80fa2d969d866e3ff')
-b2sums=('4f9f8b5d67df72a1e19db82fa57b3a65e1c32b9c11913470d7e7b5d2c4b3af00e05493b59ff3da17ff56f6f14528b67dc0550c66e138c1c05f0df3226128bf95')
+sha512sums=('980ca972b7d66daea0788a7c8fa738ada5837102db29c8651f5e1b33d8ecb0e43dd8705ed9ec507f1cc2bb9e78ede87344a87640123f4395560dc4fb6b0db55a')
+b2sums=('71fd393a2e810edae0f198992aca00bbf73a55240e15125b5b82695dfbe0bfcaa3084bc5b8e14d9bc07cfd4a10b81aec014e4ac8b972d8dd96dd8e4159fb02ad')
build(){
cd "${pkgname}-${pkgver}"
@@ -33,4 +33,31 @@
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