# Template file for 'rust-sccache' pkgname=rust-sccache version=0.4.2 revision=1 build_style=cargo # 1. requires expensive extra feature 2. requires clang 3. requires libc make_check_args="-- --skip test_s3_invalid_args --skip test_sccache_command --skip dist::pkg::toolchain_imp::test_ldd_parse_v2_30" hostmakedepends="pkg-config" makedepends="openssl-devel libzstd-devel" short_desc="Sccache is a ccache-like tool" maintainer="Enno Boland " license="Apache-2.0" homepage="https://crates.io/crates/sccache" changelog="https://github.com/mozilla/sccache/releases" distfiles="https://static.crates.io/crates/sccache/sccache-${version}.crate" checksum=5e4e2e0d3e14abc7a1698e3f873f9c7871c7f12d05bab4241fa38389881cdda9 case "$XBPS_TARGET_MACHINE" in x86_64*|i686*|arm*|aarch64*) ;; *) broken="ftbfs in ring" ;; esac pre_check() { # tries to spawn /usr/bin/cargo and fails rm -f tests/sccache_cargo.rs }