void-packages/srcpkgs/fd/template

27 lines
586 B
Bash
Raw Normal View History

2017-09-16 13:31:27 +00:00
# Template file for 'fd'
pkgname=fd
2017-11-16 14:41:10 +00:00
version=6.0.0
2017-11-16 19:24:58 +00:00
revision=2
2017-09-16 13:31:27 +00:00
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"
2017-11-16 14:41:10 +00:00
checksum=9d75a4962304d4430b87499d2ed14881c47ee6d5215d57d25371b594931745e3
2017-09-16 13:31:27 +00:00
nocross=yes
do_build() {
cargo build --release
}
2017-11-16 14:41:10 +00:00
do_check() {
cargo test --release
}
2017-09-16 13:31:27 +00:00
do_install() {
vbin target/release/${pkgname}
2017-11-16 19:24:58 +00:00
vman doc/fd.1
2017-10-27 07:50:05 +00:00
vlicense LICENSE-MIT
2017-09-16 13:31:27 +00:00
}