fd: update to 8.5.0

This commit is contained in:
Marcin Puc 2022-11-01 22:57:50 +01:00 committed by Michal Vasilek
parent 277ab77616
commit 3c75f28aa3

View file

@ -1,22 +1,25 @@
# Template file for 'fd'
pkgname=fd
version=8.4.0
version=8.5.0
revision=1
build_style=cargo
build_helper=qemu
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"
changelog="https://raw.githubusercontent.com/sharkdp/fd/master/CHANGELOG.md"
distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz"
checksum=d0c2fc7ddbe74e3fd88bf5bb02e0f69078ee6d2aeea3d8df42f508543c9db05d
distfiles="https://github.com/sharkdp/fd/archive/refs/tags/v${version}.tar.gz"
checksum=b719d87da077e35a7588541ba99acbd01e53aa3242b40e26c487d047b959247b
post_install() {
vman doc/fd.1
vlicense LICENSE-MIT
vcompletion contrib/completion/_fd zsh
cd "target/${RUST_TARGET}/release/build/fd-find-"*/out
vcompletion fd.bash bash
vcompletion fd.fish fish
local fd="${DESTDIR}/usr/bin/fd"
for shell in bash fish; do
vtargetrun ${fd} --gen-completions ${shell} > fd.${shell}
vcompletion fd.${shell} ${shell}
done
}