ripgrep: update to 14.0.0
This commit is contained in:
parent
392366389c
commit
9529722920
1 changed files with 15 additions and 9 deletions
|
@ -1,25 +1,31 @@
|
|||
# Template file for 'ripgrep'
|
||||
pkgname=ripgrep
|
||||
version=13.0.0
|
||||
revision=2
|
||||
version=14.0.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
build_helper=qemu
|
||||
configure_args="--features=pcre2"
|
||||
hostmakedepends="ruby-asciidoctor pkg-config"
|
||||
hostmakedepends="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=0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2
|
||||
changelog="https://raw.githubusercontent.com/BurntSushi/ripgrep/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/BurntSushi/ripgrep/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=d4a57f558abe30bb272850d08850d412870fb3f942ed06932a30b4989911360b
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE-MIT
|
||||
vlicense UNLICENSE
|
||||
|
||||
vinstall complete/_rg 0644 usr/share/zsh/site-functions
|
||||
cd "target/${RUST_TARGET}/release/build/ripgrep-"*/out
|
||||
local _rg=${DESTDIR}/usr/bin/rg
|
||||
|
||||
vtargetrun ${_rg} --generate man > rg.1
|
||||
vman rg.1
|
||||
vinstall rg.bash 0644 usr/share/bash-completion/completions rg
|
||||
vinstall rg.fish 0644 usr/share/fish/vendor_completions.d
|
||||
|
||||
for _shell in bash fish zsh; do
|
||||
vtargetrun ${_rg} --generate complete-${_shell} > rg.${_shell}
|
||||
vcompletion rg.${_shell} ${_shell} rg
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue