# Template file for 'grype' pkgname=grype version=0.66.0 revision=1 build_style=go build_helper=qemu go_import_path="github.com/anchore/grype" go_package="github.com/anchore/grype/cmd/grype" hostmakedepends="go1.20" 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=b0e38671975c0871f1b9a7bacba376f90ecb429973cb4b5b9cf90a3f4e072304 export GOTOOLCHAIN=go1.20 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 }