bat: update to 0.22.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Template file for 'bat'
|
# Template file for 'bat'
|
||||||
pkgname=bat
|
pkgname=bat
|
||||||
version=0.21.0
|
version=0.22.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
hostmakedepends="cmake llvm clang"
|
hostmakedepends="cmake llvm clang"
|
||||||
@@ -9,12 +9,19 @@ short_desc="Cat(1) clone with syntax highlighting and Git integration"
|
|||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="Apache-2.0, MIT"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/sharkdp/bat"
|
homepage="https://github.com/sharkdp/bat"
|
||||||
distfiles="https://github.com/sharkdp/bat/archive/v${version}.tar.gz"
|
changelog="https://raw.githubusercontent.com/sharkdp/bat/master/CHANGELOG.md"
|
||||||
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() {
|
post_patch() {
|
||||||
# fixes an indexmap error when cross compiling
|
# 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() {
|
pre_build() {
|
||||||
|
|||||||
Reference in New Issue
Block a user