diff --git a/srcpkgs/grype/template b/srcpkgs/grype/template index c9d97dd6216..56b8bc75969 100644 --- a/srcpkgs/grype/template +++ b/srcpkgs/grype/template @@ -1,12 +1,21 @@ # Template file for 'grype' pkgname=grype -version=0.60.0 -revision=2 +version=0.61.1 +revision=1 build_style=go +build_helper=qemu go_import_path="github.com/anchore/grype" short_desc="Vulnerability scanner for container images and filesystems" maintainer="Jan Christian Grünhage " license="Apache-2.0" homepage="https://github.com/anchore/grype" distfiles="https://github.com/anchore/grype/archive/refs/tags/v${version}.tar.gz" -checksum=3617066735c984f87caacada7bc4bb9478bbab306a3b1eb1c8d4cc7a99471b93 +checksum=e9599fbf1c42133e1d07719a3bb1489a5d261a099af8ec515be3409e12dbc56c + +post_install() { + grype="${DESTDIR}/usr/bin/grype" + for shell in bash fish zsh; do + vtargetrun ${grype} completion ${shell} >grype.${shell} + vcompletion grype.${shell} ${shell} + done +}