bat: update to 0.18.2.

This commit is contained in:
Daniel Eyßer 2021-07-13 23:02:00 +02:00 committed by Érico Nogueira Rolim
parent 4d5c366871
commit e08d9058a0
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'bat'
pkgname=bat
version=0.18.1
version=0.18.2
revision=1
build_style=cargo
hostmakedepends="cmake llvm clang"
@ -10,7 +10,7 @@ maintainer="John <me@johnnynator.dev>"
license="Apache-2.0, MIT"
homepage="https://github.com/sharkdp/bat"
distfiles="https://github.com/sharkdp/bat/archive/v${version}.tar.gz"
checksum=ab5246c3bec8745c14ca9a0473971f00fbce2fdc1ce7842e0a96676ee5eac2af
checksum=b176787e27da1f920b655bcd71b66c1569d241e2272bb9a4f6a64e6501c0cf2a
pre_build() {
export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
@ -29,4 +29,6 @@ post_install() {
vcompletion ${fish_completion} fish
zsh_completion=$(find ${wrksrc}/target -name bat.zsh -print -quit)
vcompletion ${zsh_completion} zsh
bash_completion=$(find ${wrksrc}/target -name bat.bash -print -quit)
vcompletion ${bash_completion} bash
}