From 5e74e4ac1b9585c937a5420478e4808792f71740 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 01:05:31 +0200 Subject: [PATCH] bat: use cargo buildstyle --- srcpkgs/bat/template | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/srcpkgs/bat/template b/srcpkgs/bat/template index 0a99bd4ce51..362620fb58b 100644 --- a/srcpkgs/bat/template +++ b/srcpkgs/bat/template @@ -2,7 +2,8 @@ pkgname=bat version=0.7.1 revision=2 -hostmakedepends="cargo cmake" +build_style=cargo +hostmakedepends="cmake" makedepends="libcurl-devel libssh2-devel oniguruma-devel" short_desc="A cat(1) clone with syntax highlighting and Git integration" maintainer="cr6git " @@ -11,15 +12,7 @@ homepage="https://github.com/sharkdp/bat" distfiles="https://github.com/sharkdp/bat/archive/v${version}.tar.gz" checksum=5863895e6ac95f5349da95ff74e196c4b365af3fc3f4a1376cab797df493b7a4 -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 ${makejobs} -} - -do_install() { - vbin target/release/bat +post_install() { vlicense LICENSE-MIT vdoc README.md vman doc/bat.1