2022-09-09 09:51:23 +02:00
|
|
|
# Template file for 'difftastic'
|
|
|
|
pkgname=difftastic
|
2022-12-29 08:08:42 +01:00
|
|
|
version=0.41.0
|
2022-09-09 09:51:23 +02:00
|
|
|
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"
|
2022-12-29 08:08:42 +01:00
|
|
|
checksum=97dd6518d1d2ee46db04ecc4170f4fb90ce0a4e54672a64bee7e1b7aa8776c60
|
2022-09-09 09:51:23 +02:00
|
|
|
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
|
|
makedepends+=" libatomic-devel"
|
|
|
|
XBPS_CROSS_RUSTFLAGS+=" -latomic"
|
2022-12-02 21:26:50 +01:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
broken="how is this supposed to even work"
|
|
|
|
fi
|
2022-09-09 09:51:23 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|