void-packages/srcpkgs/ripgrep/template

24 lines
595 B
Bash
Raw Normal View History

2016-09-23 20:11:39 +02:00
# Template file for 'ripgrep'
pkgname=ripgrep
2016-11-07 13:25:26 +01:00
version=0.2.8
2016-09-23 20:11:39 +02:00
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"
2016-11-07 13:25:26 +01:00
checksum=0a2a41439572feed787b4e1e3d07d03b8ee6a7dd2dc0eda969eb7d67aed91e52
2016-09-23 20:11:39 +02:00
nocross=yes
do_build() {
cargo build --release
2016-09-26 13:37:15 +02:00
}
2016-09-23 20:11:39 +02:00
do_install() {
vman doc/rg.1
vbin target/release/rg
vlicense LICENSE-MIT
vlicense UNLICENSE
}