From 4513082e230299a009a9b808b0353d687b96f472 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Wed, 17 May 2023 10:06:57 +0200 Subject: [PATCH] syft: update to 0.80.0. --- srcpkgs/syft/template | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/srcpkgs/syft/template b/srcpkgs/syft/template index 131419513315..e76deeba40c9 100644 --- a/srcpkgs/syft/template +++ b/srcpkgs/syft/template @@ -1,12 +1,21 @@ # Template file for 'syft' pkgname=syft -version=0.76.0 -revision=2 +version=0.80.0 +revision=1 build_style=go +build_helper=qemu go_import_path="github.com/anchore/syft/cmd/syft" short_desc="SBOM generator CLI for container images, filesystems and more" maintainer="Jan Christian Grünhage " license="Apache-2.0" homepage="https://github.com/anchore/syft" distfiles="https://github.com/anchore/syft/archive/refs/tags/v${version}.tar.gz" -checksum=d8a439850aa93ebd6fc01c5514b3bd70ae73965c9fea172c26843fcc8d0b5307 +checksum=f53b05b2092118c02010c9be35c5a094834afbd057a2c0cbebe08333b52de76d + +post_install() { + syft="${DESTDIR}/usr/bin/syft" + for shell in bash fish zsh; do + vtargetrun ${syft} completion ${shell} >syft.${shell} + vcompletion syft.${shell} ${shell} + done +}