21 lines
683 B
Bash
21 lines
683 B
Bash
# Template file for 'fd'
|
|
pkgname=fd
|
|
version=7.5.0
|
|
revision=1
|
|
build_style=cargo
|
|
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"
|
|
distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz"
|
|
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
|
|
}
|