From 4ae2170e778a3814a89da29249a196ffaa4e9188 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 01:13:35 +0200 Subject: [PATCH] hyperfine: use cargo buildstyle --- srcpkgs/hyperfine/template | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/srcpkgs/hyperfine/template b/srcpkgs/hyperfine/template index 12d29f3d274..dd8a4c93aac 100644 --- a/srcpkgs/hyperfine/template +++ b/srcpkgs/hyperfine/template @@ -1,8 +1,8 @@ # Template file for 'hyperfine' pkgname=hyperfine version=1.3.0 -revision=1 -hostmakedepends="cargo" +revision=2 +build_style=cargo short_desc="A command-line benchmarking tool " maintainer="Wilson Birney " license="MIT" @@ -10,13 +10,7 @@ homepage="https://github.com/sharkdp/hyperfine" distfiles="https://github.com/sharkdp/hyperfine/archive/v${version}.tar.gz" changelog="https://github.com/sharkdp/hyperfine/releases" checksum=bab21d0dede8b437c0d4351d3959b3bfab8fe9f1d547997ed4d1d0f0c1d5801f -nocross=yes -do_build() { - cargo build --release ${makejobs} -} - -do_install() { +post_install() { vlicense LICENSE-MIT - vbin target/release/${pkgname} }