27 lines
747 B
Bash
27 lines
747 B
Bash
# Template file for 'bat'
|
|
pkgname=bat
|
|
version=0.7.0
|
|
revision=1
|
|
hostmakedepends="cargo cmake"
|
|
makedepends="libcurl-devel libssh2-devel oniguruma-devel"
|
|
short_desc="A cat(1) clone with syntax highlighting and Git integration"
|
|
maintainer="cr6git <quark6@protonmail.com>"
|
|
license="Apache-2.0, MIT"
|
|
homepage="https://github.com/sharkdp/bat"
|
|
distfiles="https://github.com/sharkdp/bat/archive/v${version}.tar.gz"
|
|
checksum=263e7e4fa3456929cc64eacd2ab01a2241fd10dd197a61f46dbaff2e7479b96b
|
|
|
|
nocross="https://travis-ci.org/voidlinux/void-packages/jobs/374173136#L1025
|
|
https://travis-ci.org/voidlinux/void-packages/jobs/374173137#L1021"
|
|
|
|
do_build() {
|
|
cargo build --release
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/bat
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
}
|
|
|