34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'cargo-deny'
|
|
pkgname=cargo-deny
|
|
version=0.13.9
|
|
revision=1
|
|
_adv_commit="222ccf84ef7d733a6eac71f694a5e14b4d0d0289"
|
|
build_style=cargo
|
|
configure_args="--no-default-features"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="openssl-devel libzstd-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/refs/tags/${version}.tar.gz"
|
|
checksum=b26d8f984e00ddf96766e25781d6b296ff7a571f2c3730a607bfde24062b8adb
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
|
broken="bitvec crate unimplemented for big endian"
|
|
fi
|
|
|
|
pre_check() {
|
|
rm -rf tests/advisory-db/github.com-2f857891b7f43c59
|
|
/usr/libexec/chroot-git/git clone https://github.com/rustsec/advisory-db.git tests/advisory-db/github.com-2f857891b7f43c59
|
|
cd tests/advisory-db/github.com-2f857891b7f43c59
|
|
/usr/libexec/chroot-git/git checkout ${_adv_commit}
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE-APACHE
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
}
|