ripgrep: initial commit, version 12.1.1
This commit is contained in:
parent
e4b47db67a
commit
27d58e39ca
3
ripgrep/.footprint
Normal file
3
ripgrep/.footprint
Normal file
@ -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
|
5
ripgrep/.signature
Normal file
5
ripgrep/.signature
Normal file
@ -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
|
22
ripgrep/Pkgfile
Normal file
22
ripgrep/Pkgfile
Normal file
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user