23 lines
730 B
Bash
23 lines
730 B
Bash
# Template file for 'syft'
|
|
pkgname=syft
|
|
version=0.91.0
|
|
revision=1
|
|
build_style=go
|
|
build_helper=qemu
|
|
go_import_path="github.com/anchore/syft"
|
|
go_package="github.com/anchore/syft/cmd/syft"
|
|
short_desc="SBOM generator CLI for container images, filesystems and more"
|
|
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/anchore/syft"
|
|
distfiles="https://github.com/anchore/syft/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=f29cb3fd96b41ed48795e1f8fd81f3900505cf3dd84844b749db850d790f3768
|
|
|
|
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
|
|
}
|