26 lines
789 B
Bash
26 lines
789 B
Bash
# Template file for 'fd'
|
|
pkgname=fd
|
|
version=10.5.0
|
|
revision=1
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
short_desc="Simple, fast and user-friendly alternative to find"
|
|
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
|
|
license="Apache-2.0 OR 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=e6d9e90730bf316101691e49d59cc02565278dc3779d33a77423801569484851
|
|
|
|
post_install() {
|
|
vman doc/fd.1
|
|
vlicense LICENSE-APACHE
|
|
vlicense LICENSE-MIT
|
|
|
|
vcompletion contrib/completion/_fd zsh
|
|
for shell in bash fish; do
|
|
vtargetrun ${DESTDIR}/usr/bin/fd --gen-completions ${shell} > fd.${shell}
|
|
vcompletion fd.${shell} ${shell}
|
|
done
|
|
}
|