void-packages/srcpkgs/fd/template
2022-01-29 21:04:33 +01:00

22 lines
684 B
Bash

# Template file for 'fd'
pkgname=fd
version=8.3.2
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"
changelog="https://raw.githubusercontent.com/sharkdp/fd/master/CHANGELOG.md"
distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz"
checksum=9cc2354c652ee38369a4ce865404f284e94fa9daf043bb31d36297e7a2d7cd45
post_install() {
vman doc/fd.1
vlicense LICENSE-MIT
vcompletion contrib/completion/_fd zsh
cd "target/${RUST_TARGET}/release/build/fd-find-"*/out
vcompletion fd.bash bash
vcompletion fd.fish fish
}