# Template file for 'fd'
pkgname=fd
version=4.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=e564a11ad1beb8979b45d11ee592ed9a633fabf445eec0c766d87857b46bb636
nocross=yes

do_build() {
	cargo build --release
}

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