diff --git a/srcpkgs/fd/template b/srcpkgs/fd/template new file mode 100644 index 00000000000..aaaf906bf89 --- /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 +}