2018-07-06 12:09:36 +02:00
|
|
|
# Template file for 'bat'
|
|
|
|
pkgname=bat
|
2018-09-01 11:24:11 +02:00
|
|
|
version=0.6.1
|
2018-07-06 12:09:36 +02:00
|
|
|
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"
|
2018-09-01 11:24:11 +02:00
|
|
|
checksum=14008c3056217a758883e0b65589fc8ce699f245e9f1c1ff5aad925c090eda37
|
2018-07-06 12:09:36 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|