New package: bat-0.4.1 (#692)

This commit is contained in:
cr6git 2018-07-06 12:09:36 +02:00 committed by GitHub
parent f32f0d3358
commit 32d1795016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

26
srcpkgs/bat/template Normal file
View File

@ -0,0 +1,26 @@
# Template file for 'bat'
pkgname=bat
version=0.4.1
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=3ae66854da59d691b8740672708a2e7f2f240c76e8a00283f59a6e39127e4583
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
}