vp-build/srcpkgs/cargo-deny/template

30 lines
902 B
Bash

# Template file for 'cargo-deny'
pkgname=cargo-deny
version=0.11.3
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=d9e6adc8342d69b84b4c4e6b1d34eaaf0750b4680a9c675c8c74659a8c27cfc8
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="bitvec crate unimplemented for big endian"
fi
post_patch() {
cargo update --package autocfg --precise 1.1.0
}
post_install() {
vlicense LICENSE-APACHE
vlicense LICENSE-MIT
vdoc README.md
}