mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-20 16:17:02 +02:00
25 lines
859 B
Bash
25 lines
859 B
Bash
# Template file for 'bat'
|
|
pkgname=bat
|
|
version=0.25.0
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libgit2-1.8-devel oniguruma-devel"
|
|
short_desc="Cat(1) clone with syntax highlighting and Git integration"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
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=4433403785ebb61d1e5d4940a8196d020019ce11a6f7d4553ea1d324331d8924
|
|
|
|
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
|
|
}
|