# Template file for 'fd'
pkgname=fd
version=5.0.0
revision=1
hostmakedepends="rust cargo"
short_desc="A simple, fast and user-friendly alternative to find"
maintainer="Jerry Tegno <jerrytegno@gmail.com>"
license="MIT"
homepage="https://github.com/sharkdp/fd"
distfiles="https://github.com/sharkdp/${pkgname}/archive/v${version}.tar.gz"
checksum=9788597334912d65e32c7d57ef7a0294cb8976dc52538c9048a77fbb8d12f755
nocross=yes

do_build() {
	cargo build --release
}

do_install() {
	vbin target/release/${pkgname}
	vlicense LICENSE-MIT
}
