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