26 lines
825 B
Bash
26 lines
825 B
Bash
# Template file for 'ripgrep'
|
|
pkgname=ripgrep
|
|
version=12.0.1
|
|
revision=1
|
|
build_style=cargo
|
|
configure_args="--features=pcre2"
|
|
hostmakedepends="asciidoc pkg-config"
|
|
makedepends="pcre2-devel"
|
|
short_desc="Fast search tool inspired by ag and grep"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="Unlicense, MIT"
|
|
homepage="https://github.com/BurntSushi/ripgrep/"
|
|
distfiles="https://github.com/BurntSushi/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=5be34aa77a36ac9d8f1297a0d97069e4653e03f61c67d192cee32944cd2b6329
|
|
|
|
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/vendor_completions.d
|
|
}
|