fd: use cargo buildstyle
This commit is contained in:
parent
e71e746e1f
commit
0fd4935415
1 changed files with 3 additions and 13 deletions
|
@ -1,26 +1,16 @@
|
||||||
# Template file for 'fd'
|
# Template file for 'fd'
|
||||||
pkgname=fd
|
pkgname=fd
|
||||||
version=7.1.0
|
version=7.1.0
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cargo"
|
build_style=cargo
|
||||||
short_desc="Simple, fast and user-friendly alternative to find"
|
short_desc="Simple, fast and user-friendly alternative to find"
|
||||||
maintainer="Jerry Tegno <jerrytegno@gmail.com>"
|
maintainer="Jerry Tegno <jerrytegno@gmail.com>"
|
||||||
license="Apache-2.0, MIT"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/sharkdp/fd"
|
homepage="https://github.com/sharkdp/fd"
|
||||||
distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz"
|
distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz"
|
||||||
checksum=9385a55738947f69fd165781598de6c980398c6214a4927fce13a4f7f1e63d4d
|
checksum=9385a55738947f69fd165781598de6c980398c6214a4927fce13a4f7f1e63d4d
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
cargo test --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/fd
|
|
||||||
vman doc/fd.1
|
vman doc/fd.1
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue