# Template file for 'cargo-deny'
pkgname=cargo-deny
version=0.6.8
revision=1
build_style=cargo
configure_args="--no-default-features"
hostmakedepends="pkg-config"
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=0680ff79073e8caa4ed4cd43d6850f0f11e0a3a26db177dd0d7537744469a2dc

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
}
