23 lines
747 B
Bash
23 lines
747 B
Bash
# Template file for 'ripgrep'
|
|
pkgname=ripgrep
|
|
version=11.0.1
|
|
revision=1
|
|
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=ba106404342160a66f703b8c9db9d45117c1a3664a0996822496bcb9f238b184
|
|
|
|
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
|
|
vinstall rg.fish 0644 usr/share/fish/completions
|
|
}
|