void-packages/srcpkgs/ripgrep/template
2020-02-14 08:04:33 +01:00

22 lines
697 B
Bash

# Template file for 'ripgrep'
pkgname=ripgrep
version=11.0.2
revision=2
build_style=cargo
hostmakedepends="asciidoc"
short_desc="Fast search tool inspired by ag and grep"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain, MIT"
homepage="https://github.com/BurntSushi/ripgrep/"
distfiles="https://github.com/BurntSushi/${pkgname}/archive/${version}.tar.gz"
checksum=0983861279936ada8bc7a6d5d663d590ad34eb44a44c75c2d6ccd0ab33490055
post_install() {
vlicense LICENSE-MIT
vlicense UNLICENSE
vinstall complete/_rg 0644 usr/share/zsh/site-functions
cd target/${RUST_TARGET}/release/build/ripgrep-*/out
vman rg.1
vinstall rg.bash 0644 usr/share/bash-completion/completions rg
}