void-packages/srcpkgs/rust-cargo-audit/template

20 lines
642 B
Bash

# Template file for 'rust-cargo-audit'
pkgname=rust-cargo-audit
version=0.6.1
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="Rasmus Thomsen <Rasmus.thomsen@protonmail.com>"
license="Apache-2.0, MIT"
homepage="https://rustsec.org"
distfiles="https://static.crates.io/crates/cargo-audit/cargo-audit-${version}.crate"
checksum=d6929eac92c3ce9df419aacf8f26441146e4d407d354805deaec0a4bd7557059
post_install() {
vlicense LICENSE-APACHE
vlicense LICENSE-MIT
}