From 8b95df99fae709cffd06236d9150cc44859f2ee0 Mon Sep 17 00:00:00 2001 From: Jerry Tegno Date: Sat, 16 Sep 2017 06:31:27 -0700 Subject: [PATCH] New package: fd-3.0.0 --- srcpkgs/fd/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/fd/template diff --git a/srcpkgs/fd/template b/srcpkgs/fd/template new file mode 100644 index 0000000000..aaaf906bf8 --- /dev/null +++ b/srcpkgs/fd/template @@ -0,0 +1,21 @@ +# Template file for 'fd' +pkgname=fd +version=3.0.0 +revision=1 +hostmakedepends="rust cargo" +short_desc="A simple, fast and user-friendly alternative to find" +maintainer="Jerry Tegno " +license="MIT" +homepage="https://github.com/sharkdp/fd" +distfiles="https://github.com/sharkdp/${pkgname}/archive/v${version}.tar.gz" +checksum=9124e0f531894fac8afd5a8635ab00bd70dbed3e2af6c22a9fdaf862b1b0e71c +nocross=yes + +do_build() { + cargo build --release +} + +do_install() { + vbin target/release/${pkgname} + vlicense LICENSE +}