void-packages/srcpkgs/osv-scanner/template

16 lines
665 B
Bash

# Template file for 'osv-scanner'
pkgname=osv-scanner
version=1.7.3
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://google.github.io/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=15480c07c7e69b2d54f9c3975e0ce8ae17b85f7f0a291e50d8fc1a0ff9cb2b17