23 lines
701 B
Bash
23 lines
701 B
Bash
# Template file for 'rust-cargo-audit'
|
|
pkgname=rust-cargo-audit
|
|
version=0.10.0
|
|
revision=1
|
|
wrksrc="${pkgname/rust-/}-${version}"
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libressl-devel libssh2-devel zlib-devel"
|
|
short_desc="Audit Cargo.lock for crates with security vulnerabilities"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="Apache-2.0, MIT"
|
|
homepage="https://rustsec.org"
|
|
distfiles="https://static.crates.io/crates/cargo-audit/cargo-audit-${version}.crate"
|
|
checksum=0545a193fd47fd02557f7c150af76855faaf19842638a2627b190006a6518bbc
|
|
|
|
pre_build() {
|
|
cargo update --package openssl-sys --precise 0.9.53
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE-APACHE
|
|
vlicense LICENSE-MIT
|
|
}
|