fd: use cargo buildstyle

This commit is contained in:
Rasmus Thomsen 2018-10-02 01:16:36 +02:00 committed by Enno Boland
parent e71e746e1f
commit 0fd4935415

View file

@ -1,26 +1,16 @@
# Template file for 'fd'
pkgname=fd
version=7.1.0
revision=1
hostmakedepends="cargo"
revision=2
build_style=cargo
short_desc="Simple, fast and user-friendly alternative to find"
maintainer="Jerry Tegno <jerrytegno@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/sharkdp/fd"
distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz"
checksum=9385a55738947f69fd165781598de6c980398c6214a4927fce13a4f7f1e63d4d
nocross=yes
do_build() {
cargo build --release
}
do_check() {
cargo test --release
}
do_install() {
vbin target/release/fd
post_install() {
vman doc/fd.1
vlicense LICENSE-MIT
}