From 536972a7eecd93fa718ad5a0f5d0afc85c4f28f7 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 01:07:13 +0200 Subject: [PATCH] tokei: use cargo buildstyle --- srcpkgs/tokei/template | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/srcpkgs/tokei/template b/srcpkgs/tokei/template index 63eb54d795a..35e7f5227af 100644 --- a/srcpkgs/tokei/template +++ b/srcpkgs/tokei/template @@ -1,22 +1,16 @@ # Template file for 'tokei' pkgname=tokei version=8.0.1 -revision=1 -hostmakedepends="cargo" +revision=2 +build_style=cargo short_desc="Count lines of code" maintainer="Joseph LaFreniere " license="Apache-2.0, MIT" homepage="https://github.com/Aaronepower/tokei" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=9d365695e3c790747d982bf0dc598f2a65b7e51b90fa98d4f34dfef72a019e13 -nocross=yes -do_build() { - cargo build --release -} - -do_install() { - vbin target/release/tokei +post_install() { vlicense LICENCE-APACHE vlicense LICENCE-MIT }