diff --git a/srcpkgs/bat/template b/srcpkgs/bat/template index 31483d68521..b3203f088a4 100644 --- a/srcpkgs/bat/template +++ b/srcpkgs/bat/template @@ -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 " 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 }