summaryrefslogtreecommitdiff
path: root/ripgrep
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-09-03 02:17:24 +0200
committerTim Biermann <tbier@posteo.de>2022-09-03 02:17:24 +0200
commitc1c229ed05fed663422c43897ec7f0357b8bba51 (patch)
treea18c14314ec9d29c579f1ab31b5a6ad90ebbdd1d /ripgrep
parentc463818ea15855017dff6b8865059e8c0c3db502 (diff)
downloadcontrib-c1c229ed05fed663422c43897ec7f0357b8bba51.tar.gz
contrib-c1c229ed05fed663422c43897ec7f0357b8bba51.tar.xz
ripgrep: don't use cargo update
Diffstat (limited to 'ripgrep')
-rw-r--r--ripgrep/.signature4
-rw-r--r--ripgrep/Pkgfile9
2 files changed, 5 insertions, 8 deletions
diff --git a/ripgrep/.signature b/ripgrep/.signature
index 728910cda..2e5de55f8 100644
--- a/ripgrep/.signature
+++ b/ripgrep/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF37Bkonegn3YqXsRiabWKgnlWyZ8j6M8V8Ip1XpiLHMqR5WSp9D/UfQKDfJzvBZIomkORvlra5nYBMfo7Idp1sgI=
-SHA256 (Pkgfile) = ee3ab236e0a63fb89650c2dcc1f5f6df1ab39cb30ac32428c9ad3dc0e667fcf2
+RWSagIOpLGJF3+LAl9Xj1Sm782GmWCpZQWRtYb7Sv4KF7aK9+6nclqxgtlu9sAfoVTvzgn7CVBGjl5jNBLnSnsh0AI0ED8BtUwI=
+SHA256 (Pkgfile) = 2f1cd50b0d9bc97a771c5548fff7b1fdd7a862e9104a9e3d1883f8ed4f9ad2dc
SHA256 (.footprint) = 6a71c827871eda3ec353640f848c1f3ef7abfc7351fefad74143848d35854563
SHA256 (ripgrep-13.0.0.tar.gz) = 0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2
diff --git a/ripgrep/Pkgfile b/ripgrep/Pkgfile
index 4a6749141..b0dfa9134 100644
--- a/ripgrep/Pkgfile
+++ b/ripgrep/Pkgfile
@@ -5,17 +5,14 @@
name=ripgrep
version=13.0.0
-release=1
+release=2
source=(https://github.com/BurntSushi/ripgrep/archive/$version/$name-$version.tar.gz)
build() {
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
- mkdir "$PKGMK_SOURCE_DIR/rust" || true
- export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
+ [[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
- cargo update --manifest-path $name-$version/Cargo.toml
- cargo fetch --manifest-path $name-$version/Cargo.toml --locked
- cargo build --release --locked --manifest-path $name-$version/Cargo.toml
+ cargo build --release --manifest-path $name-$version/Cargo.toml
install -Dt $PKG/usr/bin $name-$version/target/release/rg
}

Generated by cgit