blob: b0dfa913498e8e5bb1f7e17c220eb1e76bc5d3c9 (
plain)
1 # Description: ripgrep is a line-oriented search tool that recursively searches your current directory for a regex pattern
2 # URL: https://github.com/burntsushi/ripgrep
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: rust
5
6 name=ripgrep
7 version=13.0.0
8 release=2
9 source=(https://github.com/BurntSushi/ripgrep/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
13 [[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
14
15 cargo build --release --manifest-path $name-$version/Cargo.toml
16
17 install -Dt $PKG/usr/bin $name-$version/target/release/rg
18 }
|