# Template file for 'fd'
pkgname=fd
version=6.0.0
revision=2
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=9d75a4962304d4430b87499d2ed14881c47ee6d5215d57d25371b594931745e3
nocross=yes

do_build() {
	cargo build --release
}

do_check() {
	cargo test --release
}

do_install() {
	vbin target/release/${pkgname}
	vman doc/fd.1
	vlicense LICENSE-MIT
}
