void-packages/srcpkgs/fd/template

23 lines
684 B
Bash

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