void-packages/srcpkgs/fd/template

27 lines
586 B
Bash

# Template file for 'fd'
pkgname=fd
version=6.1.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=48b63d8c45345a2e677d14aa24157db05eed579a92b8d5a5406936f91351341f
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
}