New package: trivy-0.63.0

Co-authored-by: Duncaen <duncaen@voidlinux.org>
This commit is contained in:
João Pinto 2025-06-10 03:29:08 +01:00 committed by Duncan Overbruck
parent c2d845e9d9
commit 3a68679d73

20
srcpkgs/trivy/template Normal file
View file

@ -0,0 +1,20 @@
# Template file for 'trivy'
pkgname=trivy
version=0.63.0
revision=1
build_style=go
go_import_path="github.com/aquasecurity/trivy"
go_package="${go_import_path}/cmd/trivy"
go_ldflags="-X ${go_import_path}/pkg/version/app.ver=$version"
short_desc="Comprehensive vulnerability scanner for containers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/aquasecurity/trivy"
distfiles="https://github.com/aquasecurity/trivy/archive/refs/tags/v${version}.tar.gz"
checksum=ac26dcb16072e674b8a3bffa6fbd817ec5baa125660b5c49d9ad8659e14d0800
# those tests are wrong and expect `dev` instead of the version.
make_check_args="-run !(^(Test_showVersion|TestPrintVersion)$)"
# fix: collect2: fatal error: cannot find 'ld'
export LDFLAGS="-fuse-ld=bfd"