2017-09-16 15:31:27 +02:00
|
|
|
# Template file for 'fd'
|
|
|
|
pkgname=fd
|
2017-12-10 16:25:43 +01:00
|
|
|
version=6.1.0
|
|
|
|
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"
|
2017-12-10 16:25:43 +01:00
|
|
|
checksum=48b63d8c45345a2e677d14aa24157db05eed579a92b8d5a5406936f91351341f
|
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
|
|
|
}
|