2023-08-23 16:06:57 -05:00

23 lines
739 B
Bash

# Template file for 'grype'
pkgname=grype
version=0.65.2
revision=2
build_style=go
build_helper=qemu
go_import_path="github.com/anchore/grype"
go_package="github.com/anchore/grype/cmd/grype"
short_desc="Vulnerability scanner for container images and filesystems"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="Apache-2.0"
homepage="https://github.com/anchore/grype"
distfiles="https://github.com/anchore/grype/archive/refs/tags/v${version}.tar.gz"
checksum=29d781a5f09af19f11ee9164e6f85bea4319d0a3e44e72953ee2964ed2aefc37
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
}