From 0fd4935415227e245a2954ceca5506ed304c4433 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 01:16:36 +0200 Subject: [PATCH] fd: use cargo buildstyle --- srcpkgs/fd/template | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/srcpkgs/fd/template b/srcpkgs/fd/template index 9a3a47d0ca7..21b8c797e95 100644 --- a/srcpkgs/fd/template +++ b/srcpkgs/fd/template @@ -1,26 +1,16 @@ # Template file for 'fd' pkgname=fd version=7.1.0 -revision=1 -hostmakedepends="cargo" +revision=2 +build_style=cargo short_desc="Simple, fast and user-friendly alternative to find" maintainer="Jerry Tegno " license="Apache-2.0, MIT" homepage="https://github.com/sharkdp/fd" distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz" checksum=9385a55738947f69fd165781598de6c980398c6214a4927fce13a4f7f1e63d4d -nocross=yes -do_build() { - cargo build --release -} - -do_check() { - cargo test --release -} - -do_install() { - vbin target/release/fd +post_install() { vman doc/fd.1 vlicense LICENSE-MIT }