20 lines
696 B
Bash
20 lines
696 B
Bash
# Template file for 'osv-scanner'
|
|
pkgname=osv-scanner
|
|
version=1.3.1
|
|
revision=2
|
|
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=1e0b66a6130f3311107ffe4796cc0cf48c276e1c09423f676dc8bc31a96d69b0
|
|
|
|
do_check() {
|
|
go test ./...
|
|
}
|