From d9495ba88b271d278d9e56b418391f0d4bde148e Mon Sep 17 00:00:00 2001 From: icp Date: Fri, 9 Sep 2022 13:21:23 +0530 Subject: [PATCH] New package: difftastic-0.37.0 --- srcpkgs/difftastic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/difftastic/template diff --git a/srcpkgs/difftastic/template b/srcpkgs/difftastic/template new file mode 100644 index 000000000000..796b059bb112 --- /dev/null +++ b/srcpkgs/difftastic/template @@ -0,0 +1,21 @@ +# Template file for 'difftastic' +pkgname=difftastic +version=0.37.0 +revision=1 +build_style=cargo +short_desc="Structural diff tool that understands syntax" +maintainer="icp " +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=a49a329bcde18574e8152b055d5bbd2a10aa9c8492ca677fbf8963fad3220949 + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + XBPS_CROSS_RUSTFLAGS+=" -latomic" +fi + +post_install() { + vlicense LICENSE +}