# Template file for 'cargo-deny'
pkgname=cargo-deny
version=0.12.1
revision=1
build_style=cargo
configure_args="--no-default-features"
hostmakedepends="pkg-config"
makedepends="openssl-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"
changelog="https://raw.githubusercontent.com/EmbarkStudios/cargo-deny/main/CHANGELOG.md"
distfiles="https://github.com/EmbarkStudios/cargo-deny/archive/${version}.tar.gz"
checksum=9f77445008553b4de1f74c4f903b68f318842f769dc8bfffa5a17af2460c0963

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
}
