void-packages/srcpkgs/bat/template

20 lines
559 B
Bash

# Template file for 'bat'
pkgname=bat
version=0.9.0
revision=1
build_style=cargo
hostmakedepends="cmake"
makedepends="libcurl-devel libssh2-devel oniguruma-devel"
short_desc="A cat(1) clone with syntax highlighting and Git integration"
maintainer="John <johnz@posteo.net>"
license="Apache-2.0, MIT"
homepage="https://github.com/sharkdp/bat"
distfiles="https://github.com/sharkdp/bat/archive/v${version}.tar.gz"
checksum=4ce9c118cf5da1159a882dea389f3c5737b5d98192e9a619b0fe8c1730341cc6
post_install() {
vlicense LICENSE-MIT
vdoc README.md
vman doc/bat.1
}