void-packages/srcpkgs/osv-scanner/template

20 lines
696 B
Bash
Raw Normal View History

2022-12-30 20:46:16 +01:00
# Template file for 'osv-scanner'
pkgname=osv-scanner
version=1.1.0
revision=1
build_style=go
go_import_path="github.com/google/osv-scanner"
go_package="${go_import_path}/cmd/osv-scanner"
go_ldflags="-X main.version=${version}"
short_desc="Vulnerability scanner which uses the data provided by https://osv.dev"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://github.com/google/osv-scanner"
changelog="https://raw.githubusercontent.com/google/osv-scanner/main/CHANGELOG.md"
distfiles="https://github.com/google/osv-scanner/archive/refs/tags/v${version}.tar.gz"
checksum=c9e89ede6bb3945657192cdfecded355509d35eba39e74000f4e45f486df2c74
do_check() {
go test ./...
}