From 5fd73b39931346879581c2713f0c9d37aa1e11d5 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 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/bat/template b/srcpkgs/bat/template index 11e11a56fd68..a3dd703693f0 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,18 @@ 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 +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() {