New package: difftastic-0.38.0

This commit is contained in:
icp 2022-09-09 13:21:23 +05:30 committed by classabbyamp
parent dadfda8a41
commit 8bfa318066
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# Template file for 'difftastic'
pkgname=difftastic
version=0.38.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=474dabe2b6d343167942e42312b0ce420f8f6dc8245b951c8874208cbafc4a7d
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
XBPS_CROSS_RUSTFLAGS+=" -latomic"
fi
post_install() {
vlicense LICENSE
}