void-packages/srcpkgs/difftastic/template

25 lines
708 B
Bash

# Template file for 'difftastic'
pkgname=difftastic
version=0.61.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://github.com/Wilfred/difftastic/archive/refs/tags/${version}.tar.gz"
checksum=8e85001e32f1fe7b2c6d164f3a654cb589c6e48b6350421df27a56919da7a185
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
post_install() {
vman difft.1
vlicense LICENSE
}