void-packages/srcpkgs/fd/template

23 lines
684 B
Bash

# Template file for 'fd'
pkgname=fd
version=8.2.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"
changelog="https://raw.githubusercontent.com/sharkdp/fd/master/CHANGELOG.md"
distfiles="https://github.com/sharkdp/fd/archive/v${version}.tar.gz"
checksum=429de7f04a41c5ee6579e07a251c72342cd9cf5b11e6355e861bb3fffa794157
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
}