diff options
author | Tim Biermann <tbier@posteo.de> | 2020-07-21 17:23:52 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-07-21 17:24:01 +0000 |
commit | 27d58e39cadf77b8eca857726d593a3e12c03184 (patch) | |
tree | 0071a42e6c15d309e4c9a167289249d688e892c3 /ripgrep | |
parent | e4b47db67ab5aa35d370b234bc986716541a0b25 (diff) | |
download | contrib-27d58e39cadf77b8eca857726d593a3e12c03184.tar.gz contrib-27d58e39cadf77b8eca857726d593a3e12c03184.tar.xz |
ripgrep: initial commit, version 12.1.1
Diffstat (limited to 'ripgrep')
-rw-r--r-- | ripgrep/.footprint | 3 | ||||
-rw-r--r-- | ripgrep/.signature | 5 | ||||
-rw-r--r-- | ripgrep/Pkgfile | 22 |
3 files changed, 30 insertions, 0 deletions
diff --git a/ripgrep/.footprint b/ripgrep/.footprint new file mode 100644 index 000000000..c599fd8cb --- /dev/null +++ b/ripgrep/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/rg diff --git a/ripgrep/.signature b/ripgrep/.signature new file mode 100644 index 000000000..ab9280e3d --- /dev/null +++ b/ripgrep/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3/8DCOYWOKavFGyJXQ744O5WWquyDk5uDcBlkce1KuFWjzB4gy0cJ7i2dK5QFVDjrdLOCQ8ZJM71u6KUb5CfKw4= +SHA256 (Pkgfile) = a02f431cf05997f6fe2ffd895b8807c424c21f70113e9efb6fb285590c27f034 +SHA256 (.footprint) = 6a71c827871eda3ec353640f848c1f3ef7abfc7351fefad74143848d35854563 +SHA256 (ripgrep-12.1.1.tar.gz) = 2513338d61a5c12c8fea18a0387b3e0651079ef9b31f306050b1f0aaa926271e diff --git a/ripgrep/Pkgfile b/ripgrep/Pkgfile new file mode 100644 index 000000000..70a22c486 --- /dev/null +++ b/ripgrep/Pkgfile @@ -0,0 +1,22 @@ +# Description: ripgrep is a line-oriented search tool that recursively searches your current directory for a regex pattern +# URL: https://github.com/burntsushi/ripgrep +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust + +name=ripgrep +version=12.1.1 +release=1 +source=(https://github.com/BurntSushi/ripgrep/archive/$version/$name-$version.tar.gz) + +build() { + cd $name-$version + prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache + mkdir "$PKGMK_SOURCE_DIR/rust" || true + export CARGO_HOME="$PKGMK_SOURCE_DIR/rust" + + cargo update + cargo fetch + cargo build --release --locked + ls target/release/ -la + install -Dt $PKG/usr/bin target/release/rg +} |