From f426a5d17407690ba1307f2f108a44c94f10e02c Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Wed, 7 Sep 2022 09:40:47 +0200 Subject: [PATCH] bat: update to 0.22.0 --- srcpkgs/bat/template | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/srcpkgs/bat/template b/srcpkgs/bat/template index 11e11a56fd68..9c172d7dac8c 100644 --- a/srcpkgs/bat/template +++ b/srcpkgs/bat/template @@ -1,6 +1,6 @@ # Template file for 'bat' pkgname=bat -version=0.21.0 +version=0.22.0 revision=1 build_style=cargo hostmakedepends="cmake llvm clang" @@ -9,12 +9,19 @@ short_desc="Cat(1) clone with syntax highlighting and Git integration" maintainer="John " license="Apache-2.0, MIT" homepage="https://github.com/sharkdp/bat" -distfiles="https://github.com/sharkdp/bat/archive/v${version}.tar.gz" -checksum=3dff1e52d577d0a105f4afe3fe7722a4a2b8bb2eb3e7a6a5284ac7add586a3ee +changelog="https://raw.githubusercontent.com/sharkdp/bat/master/CHANGELOG.md" +distfiles="https://github.com/sharkdp/bat/archive/refs/tags/v${version}.tar.gz" +checksum=bec63bffc315bda7b65d472a19833e14bbaff4d251cedf8bfc77c82a00b77bfc + +# skip problematic doctests on i686 +case "$XBPS_TARGET_MACHINE" in + i686) make_check_args="-- --skip src/";; + *) ;; +esac post_patch() { # fixes an indexmap error when cross compiling - cargo update --package autocfg --precise 1.1.0 + cargo update --package autocfg@1.0.1 --precise 1.1.0 } pre_build() {