From 28c35e6833fd0616a030a0c626df7a4990061297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Sun, 9 Jan 2022 12:27:56 +0100 Subject: [PATCH] bat: update to 0.20.0. --- srcpkgs/bat/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bat/template b/srcpkgs/bat/template index 586c258ad1c..e3f210b3cab 100644 --- a/srcpkgs/bat/template +++ b/srcpkgs/bat/template @@ -1,6 +1,6 @@ # Template file for 'bat' pkgname=bat -version=0.18.3 +version=0.20.0 revision=1 build_style=cargo hostmakedepends="cmake llvm clang" @@ -10,7 +10,12 @@ 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=dff7fa5222f40c7b3c783d3ceb0c3ffb35662f1198b00d785f80f3f1523399dd +checksum=12eca3add56f21b8056a4c17cfb5bffc45e107f23f75a8e0f5de948d8e997c39 + +post_patch() { + # fixes an indexmap error when cross compiling + cargo update --package autocfg --precise 1.1.0 +} pre_build() { export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"