vp-build/srcpkgs/fd/template

27 lines
575 B
Bash

# Template file for 'fd'
pkgname=fd
version=7.0.0
revision=1
hostmakedepends="cargo"
short_desc="Simple, fast and user-friendly alternative to find"
maintainer="Jerry Tegno <jerrytegno@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/sharkdp/fd"
distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz"
checksum=93cc5a7c9199dc650f51a491e4ed4512262eeaeae5847722e6886763b41e2896
nocross=yes
do_build() {
cargo build --release
}
do_check() {
cargo test --release
}
do_install() {
vbin target/release/fd
vman doc/fd.1
vlicense LICENSE-MIT
}