# Template file for 'cargo-deny'
pkgname=cargo-deny
version=0.6.6
revision=1
build_style=cargo
configure_args="--no-default-features"
hostmakedepends="pkg-config perl"
makedepends="libressl-devel"
short_desc="Cargo plugin to help you manage large dependency graphs"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT, Apache-2.0"
homepage="https://github.com/EmbarkStudios/cargo-deny"
distfiles="https://github.com/EmbarkStudios/cargo-deny/archive/${version}.tar.gz"
checksum=2740610007bd947d00df18af4359221b4a78f55daf7cbeda3a703f49e8f208b9

if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
	broken="bitvec crate unimplemented for big endian"
fi

post_install() {
	vlicense LICENSE-APACHE
	vlicense LICENSE-MIT
	vdoc README.md
}
