void-packages/srcpkgs/fd/template

27 lines
586 B
Bash
Raw Normal View History

2017-09-16 15:31:27 +02:00
# Template file for 'fd'
pkgname=fd
2018-02-10 20:32:26 +01:00
version=6.3.0
2017-12-10 16:25:43 +01:00
revision=1
2017-09-16 15:31:27 +02: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"
2018-02-10 20:32:26 +01:00
checksum=b178ea3018667766540a54703b15f01207f4626bc7162378a86972f2f43f2f60
2017-09-16 15:31:27 +02:00
nocross=yes
do_build() {
cargo build --release
}
2017-11-16 15:41:10 +01:00
do_check() {
cargo test --release
}
2017-09-16 15:31:27 +02:00
do_install() {
vbin target/release/${pkgname}
2017-11-16 20:24:58 +01:00
vman doc/fd.1
2017-10-27 09:50:05 +02:00
vlicense LICENSE-MIT
2017-09-16 15:31:27 +02:00
}