mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
ripgrep: update to 0.4.0.
This commit is contained in:
parent
c7c9f83b77
commit
13246c7aea
1 changed files with 7 additions and 4 deletions
|
@ -1,23 +1,26 @@
|
||||||
# Template file for 'ripgrep'
|
# Template file for 'ripgrep'
|
||||||
pkgname=ripgrep
|
pkgname=ripgrep
|
||||||
version=0.3.2
|
version=0.4.0
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="cargo rust"
|
hostmakedepends="cargo rust"
|
||||||
short_desc="Fast search tool inspired by ag and grep"
|
short_desc="Fast search tool inspired by ag and grep"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="Public Domain, MIT"
|
license="Public Domain, 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=aea775c9ead5ee2b10b7cdebdb9387f5d6a400b96e5bfe26ccec7e44dd666617
|
checksum=e93a6b59e38bc7912249175ab58ad7af0052a444b3c2c08a846fabba003414d6
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cargo build --release
|
cargo build --release
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vman doc/rg.1
|
vman doc/rg.1
|
||||||
vbin target/release/rg
|
vbin target/release/rg
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
vlicense UNLICENSE
|
vlicense UNLICENSE
|
||||||
|
|
||||||
|
cd target/release/build/*/out
|
||||||
|
vinstall _rg 0644 usr/share/zsh/site-functions
|
||||||
|
vinstall rg.bash-completion 0644 usr/share/bash-completion/completions rg
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue