void-packages/srcpkgs/cargo-geiger/template
2020-07-10 15:28:15 +02:00

25 lines
785 B
Bash

# Template file for 'cargo-geiger'
pkgname=cargo-geiger
version=0.10.1
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_wrksrc="${pkgname}"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Detects usage of unsafe Rust in a Rust crate and its dependencies"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT, Apache-2.0"
homepage="https://github.com/rust-secure-code/cargo-geiger"
distfiles="https://github.com/rust-secure-code/cargo-geiger/archive/cargo-geiger-${version}.tar.gz"
checksum=64d5d695b1f2f4b65b23d6c10a4b9ec7dbf7fa8c038a2b7cb1df50b44dd355ce
pre_build() {
cargo update --package openssl-sys --precise 0.9.58
}
post_install() {
vlicense LICENSE-MIT
vlicense LICENSE-APACHE
vdoc README.md
}