void-packages/srcpkgs/fd/template
2020-05-19 20:49:24 +02:00

21 lines
683 B
Bash

# Template file for 'fd'
pkgname=fd
version=8.1.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=a58f0d74533a6e79a955c961c7228c53abfa3ca56051713be2395e56ac7212ce
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
}