2017-09-16 15:31:27 +02:00
|
|
|
# Template file for 'fd'
|
|
|
|
pkgname=fd
|
2017-11-16 15:41:10 +01:00
|
|
|
version=6.0.0
|
2017-09-16 15:31:27 +02:00
|
|
|
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"
|
2017-11-16 15:41:10 +01:00
|
|
|
checksum=9d75a4962304d4430b87499d2ed14881c47ee6d5215d57d25371b594931745e3
|
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-10-27 09:50:05 +02:00
|
|
|
vlicense LICENSE-MIT
|
2017-09-16 15:31:27 +02:00
|
|
|
}
|