23 lines
595 B
Bash
23 lines
595 B
Bash
# Template file for 'ripgrep'
|
|
pkgname=ripgrep
|
|
version=0.2.9
|
|
revision=1
|
|
hostmakedepends="cargo rust"
|
|
short_desc="Fast search tool inspired by ag and grep"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="Public Domain, MIT"
|
|
homepage="https://github.com/BurntSushi/ripgrep/"
|
|
distfiles="https://github.com/BurntSushi/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=508d6cab8e08bc8728f8674bae0266bc236b16933edb3559ac746b3b9af9d638
|
|
nocross=yes
|
|
|
|
do_build() {
|
|
cargo build --release
|
|
}
|
|
|
|
do_install() {
|
|
vman doc/rg.1
|
|
vbin target/release/rg
|
|
vlicense LICENSE-MIT
|
|
vlicense UNLICENSE
|
|
}
|