21 lines
683 B
Bash
21 lines
683 B
Bash
# Template file for 'fd'
|
|
pkgname=fd
|
|
version=8.1.1
|
|
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=7b327dc4c2090b34c7fb3e5ac7147f7bbe6266c2d44b182038d36f3b1d347cc1
|
|
|
|
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
|
|
}
|