27 lines
586 B
Bash
27 lines
586 B
Bash
# Template file for 'fd'
|
|
pkgname=fd
|
|
version=6.3.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=b178ea3018667766540a54703b15f01207f4626bc7162378a86972f2f43f2f60
|
|
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
|
|
}
|