void-packages/srcpkgs/difftastic/template

25 lines
724 B
Bash
Raw Normal View History

2022-09-09 09:51:23 +02:00
# Template file for 'difftastic'
pkgname=difftastic
2023-02-04 06:39:09 +01:00
version=0.43.1
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"
2023-02-04 06:39:09 +01:00
checksum=35c3fad5d6442e9514779dc140d998edf76bd808ca3b5d3b9db2e0c41b834a58
2022-09-09 09:51:23 +02:00
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
XBPS_CROSS_RUSTFLAGS+=" -latomic"
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
}