fd: update to 9.0.0

This commit is contained in:
Marcin Puc 2023-12-19 12:58:28 +01:00 committed by Duncan Overbruck
parent 49e1e238c6
commit 6ec90ac224

View file

@ -1,6 +1,6 @@
# Template file for 'fd'
pkgname=fd
version=8.7.1
version=9.0.0
revision=1
build_style=cargo
build_helper=qemu
@ -10,7 +10,7 @@ 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/refs/tags/v${version}.tar.gz"
checksum=2292cf6e4ba9262c592075b19ef9c241db32742b61ce613a3f42c474c01a3e28
checksum=306d7662994e06e23d25587246fa3fb1f528579e42a84f5128e75feec635a370
if [ "${XBPS_BUILD_ENVIRONMENT}" = "void-packages-ci" ]; then
make_check_args="-- --skip test_type_executable"
@ -21,9 +21,8 @@ post_install() {
vlicense LICENSE-MIT
vcompletion contrib/completion/_fd zsh
local fd="${DESTDIR}/usr/bin/fd"
for shell in bash fish; do
vtargetrun ${fd} --gen-completions ${shell} > fd.${shell}
vtargetrun ${DESTDIR}/usr/bin/fd --gen-completions ${shell} > fd.${shell}
vcompletion fd.${shell} ${shell}
done
}