diff --git a/srcpkgs/bat/template b/srcpkgs/bat/template index 05680e52a9d..278a788ce8c 100644 --- a/srcpkgs/bat/template +++ b/srcpkgs/bat/template @@ -1,6 +1,6 @@ # Template file for 'bat' pkgname=bat -version=0.18.0 +version=0.18.1 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=49d1b95250050df47753c213b5e48953a029c9e74753cef371051b14c9d629b8 +checksum=ab5246c3bec8745c14ca9a0473971f00fbce2fdc1ce7842e0a96676ee5eac2af pre_build() { export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}" @@ -25,8 +25,8 @@ post_install() { manpage=$(find ${wrksrc}/target -name bat.1 | head -n1) vman ${manpage} # Completions are also hidden somewhere deep in the build tree - fish_completion=$(find ${wrksrc}/target -name bat.fish | head -n1) + fish_completion=$(find ${wrksrc}/target -name bat.fish -print -quit) vcompletion ${fish_completion} fish - zsh_completion=$(find ${wrksrc}/target -name bat.zsh | head -n1) + zsh_completion=$(find ${wrksrc}/target -name bat.zsh -print -quit) vcompletion ${zsh_completion} zsh }