void-packages/srcpkgs/bat/template

20 lines
558 B
Bash

# Template file for 'bat'
pkgname=bat
version=0.10.0
revision=1
build_style=cargo
hostmakedepends="cmake"
makedepends="libcurl-devel libssh2-devel oniguruma-devel"
short_desc="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=54dd396e8f20d44c6032a32339f45eab46a69b6134e74a704f8d4a27c18ddc3e
post_install() {
vlicense LICENSE-MIT
vdoc README.md
vman doc/bat.1
}