34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'cargo-deny'
|
|
pkgname=cargo-deny
|
|
version=0.13.7
|
|
revision=1
|
|
_adv_commit="222ccf84ef7d733a6eac71f694a5e14b4d0d0289"
|
|
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=61c9d20baf7b941713cc3b2e83ca2233b39d6efaa4ed11abd73a12839096ff65
|
|
|
|
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
|
|
}
|