vp-build/srcpkgs/bat/template

27 lines
774 B
Bash
Raw Normal View History

2018-07-06 12:09:36 +02:00
# Template file for 'bat'
pkgname=bat
2018-09-24 06:41:05 +02:00
version=0.7.1
2018-10-10 19:00:16 +02:00
revision=2
2018-07-06 12:09:36 +02:00
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-24 06:41:05 +02:00
checksum=5863895e6ac95f5349da95ff74e196c4b365af3fc3f4a1376cab797df493b7a4
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() {
2018-09-24 09:53:56 +02:00
cargo build --release ${makejobs}
2018-07-06 12:09:36 +02:00
}
do_install() {
vbin target/release/bat
vlicense LICENSE-MIT
vdoc README.md
2018-10-10 19:00:16 +02:00
vman doc/bat.1
2018-07-06 12:09:36 +02:00
}