bat: update to 0.16.0.

This commit is contained in:
Olaf Mersmann 2020-10-08 00:55:59 +02:00 committed by John Zimmermann
parent 70bacf0bef
commit 7b13275412

View file

@ -1,6 +1,6 @@
# Template file for 'bat'
pkgname=bat
version=0.15.4
version=0.16.0
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=03b7c8ad6221ca87cecd71f9e3e2167f04f750401e2d3dcc574183aabeb76a8b
checksum=4db85abfaba94a5ff601d51b4da8759058c679a25b5ec6b45c4b2d85034a5ad3
pre_build() {
export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
@ -24,4 +24,9 @@ post_install() {
# The manual page is hidden somewhere deep in the build tree
manpage=$(find ${wrksrc}/target -name bat.1)
vman ${manpage}
# Completions are also hidden somewhere deep in the build tree
fish_completion=$(find ${wrksrc}/target -name bat.fish)
vcompletion ${fish_completion} fish
zsh_completion=$(find ${wrksrc}/target -name bat.zsh)
vcompletion ${zsh_completion} zsh
}