diff --git a/srcpkgs/ripgrep/template b/srcpkgs/ripgrep/template new file mode 100644 index 0000000000..f26f85f6ed --- /dev/null +++ b/srcpkgs/ripgrep/template @@ -0,0 +1,23 @@ +# Template file for 'ripgrep' +pkgname=ripgrep +version=0.1.17 +revision=1 +hostmakedepends="cargo rust" +short_desc="Fast search tool inspired by ag and grep" +maintainer="Christian Neukirchen " +license="Public Domain, MIT" +homepage="https://github.com/BurntSushi/ripgrep/" +distfiles="https://github.com/BurntSushi/${pkgname}/archive/${version}.tar.gz" +checksum=b558b6650bfa9cf0fd0fa58a8617cafc7c819ee25a26d15ca2ce39979dd18a18 +nocross=yes + +do_build() { + cargo build --release +} + +do_install() { + vman doc/rg.1 + vbin target/release/rg + vlicense LICENSE-MIT + vlicense UNLICENSE +}