mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
bat: update to 0.22.0
This commit is contained in:
parent
8d63aeb758
commit
7214188020
1 changed files with 11 additions and 4 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue