2023-08-05 16:45:34 -04:00

28 lines
781 B
Bash

# Template file for 'difftastic'
pkgname=difftastic
version=0.49.0
revision=1
build_style=cargo
short_desc="Structural diff tool that understands syntax"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://difftastic.wilfred.me.uk"
changelog="https://raw.githubusercontent.com/Wilfred/difftastic/master/CHANGELOG.md"
distfiles="https://static.crates.io/crates/difftastic/difftastic-${version}.crate"
checksum=62a84f868779bb073e05bed05bd9875971b2d0de53553c64a35e2b696f7236b0
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
XBPS_CROSS_RUSTFLAGS+=" -latomic"
if [ -z "$CROSS_BUILD" ]; then
broken="how is this supposed to even work"
fi
fi
pre_build() {
cargo update --package crossbeam-channel@0.5.4 --precise 0.5.8 # yanked
}
post_install() {
vlicense LICENSE
}