mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
ripgrep: add PCRE2 support.
This commit is contained in:
parent
1bdc197e31
commit
55ab04435f
1 changed files with 6 additions and 4 deletions
|
@ -1,12 +1,14 @@
|
||||||
# Template file for 'ripgrep'
|
# Template file for 'ripgrep'
|
||||||
pkgname=ripgrep
|
pkgname=ripgrep
|
||||||
version=11.0.2
|
version=11.0.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
hostmakedepends="asciidoc"
|
configure_args="--features=pcre2"
|
||||||
|
hostmakedepends="asciidoc pkg-config"
|
||||||
|
makedepends="pcre2-devel"
|
||||||
short_desc="Fast search tool inspired by ag and grep"
|
short_desc="Fast search tool inspired by ag and grep"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="Public Domain, MIT"
|
license="Unlicense, MIT"
|
||||||
homepage="https://github.com/BurntSushi/ripgrep/"
|
homepage="https://github.com/BurntSushi/ripgrep/"
|
||||||
distfiles="https://github.com/BurntSushi/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/BurntSushi/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=0983861279936ada8bc7a6d5d663d590ad34eb44a44c75c2d6ccd0ab33490055
|
checksum=0983861279936ada8bc7a6d5d663d590ad34eb44a44c75c2d6ccd0ab33490055
|
||||||
|
@ -16,7 +18,7 @@ post_install() {
|
||||||
vlicense UNLICENSE
|
vlicense UNLICENSE
|
||||||
|
|
||||||
vinstall complete/_rg 0644 usr/share/zsh/site-functions
|
vinstall complete/_rg 0644 usr/share/zsh/site-functions
|
||||||
cd target/${RUST_TARGET}/release/build/ripgrep-*/out
|
cd "target/${RUST_TARGET}/release/build/ripgrep-"*/out
|
||||||
vman rg.1
|
vman rg.1
|
||||||
vinstall rg.bash 0644 usr/share/bash-completion/completions rg
|
vinstall rg.bash 0644 usr/share/bash-completion/completions rg
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue