fd: update to 7.5.0, install completions

This commit is contained in:
Daniel Eyßer 2020-03-28 19:59:58 +01:00 committed by Johannes
parent 4162dc7f4d
commit 3c4f982fec

View file

@ -1,6 +1,6 @@
# Template file for 'fd'
pkgname=fd
version=7.4.0
version=7.5.0
revision=1
build_style=cargo
short_desc="Simple, fast and user-friendly alternative to find"
@ -8,9 +8,14 @@ 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=33570ba65e7f8b438746cb92bb9bc4a6030b482a0d50db37c830c4e315877537
checksum=8a78ca24323c832cf205c1fce8276fc25ae90371531c32e155301937986ea713
post_install() {
vman doc/fd.1
vlicense LICENSE-MIT
cd "target/${RUST_TARGET}/release/build/fd-find-"*/out
vinstall fd.bash 644 usr/share/bash-completion/completions fd
vinstall fd.fish 644 usr/share/fish/vendor_completions.d
vinstall _fd 644 usr/share/zsh/site-functions
}