# Template file for 'bat' pkgname=bat version=0.26.1 revision=1 build_style=cargo hostmakedepends="pkg-config" makedepends="libgit2-1.9-devel oniguruma-devel" short_desc="Cat(1) clone with syntax highlighting and Git integration" maintainer="John " license="Apache-2.0 OR MIT" homepage="https://github.com/sharkdp/bat" changelog="https://raw.githubusercontent.com/sharkdp/bat/master/CHANGELOG.md" distfiles="https://github.com/sharkdp/bat/archive/refs/tags/v${version}.tar.gz" checksum=4474de87e084953eefc1120cf905a79f72bbbf85091e30cf37c9214eafcaa9c9 export BAT_ASSETS_GEN_DIR="${XBPS_BUILDDIR}/${pkgname}-${version}" post_install() { vlicense LICENSE-MIT vdoc README.md vman assets/manual/bat.1 vcompletion assets/completions/bat.fish fish vcompletion assets/completions/bat.zsh zsh vcompletion assets/completions/bat.bash bash }