void-packages/srcpkgs/fd/template

27 lines
575 B
Bash
Raw Normal View History

2017-09-16 15:31:27 +02:00
# Template file for 'fd'
pkgname=fd
version=7.0.0
2017-12-10 16:25:43 +01:00
revision=1
hostmakedepends="cargo"
short_desc="Simple, fast and user-friendly alternative to find"
2017-09-16 15:31:27 +02:00
maintainer="Jerry Tegno <jerrytegno@gmail.com>"
license="Apache-2.0, MIT"
2017-09-16 15:31:27 +02:00
homepage="https://github.com/sharkdp/fd"
distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz"
checksum=93cc5a7c9199dc650f51a491e4ed4512262eeaeae5847722e6886763b41e2896
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/fd
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
}