rip: do not manually update crates

This commit is contained in:
Tim Biermann 2022-12-31 09:43:06 +00:00
parent 7d97d4c394
commit 486a20b41d
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39zkDJc9l+lwP+wFauup5Ru+hApKaO3kAL55JCgMJmPg1kI2SbwFXbi9tfZFULtSQK2CM4/9LD7UfmWcyqEOTAA=
SHA256 (Pkgfile) = 46aa219b64c6ccd8ff94c10b924e925f60361838028a6e1a4400ab0b45e0f9bd
RWSagIOpLGJF35fiyZ15BmJcF0e6fvVENIP16ayYzt6hGIAP8W/GjMSYT24K9dW2GP7AvvzYWctzpe05KHMENoza6gQRlFqTkQE=
SHA256 (Pkgfile) = b345bd2c4ed2e0da51c72a1c5deb15b8f4a7d6d1ad8e68630d51a20ed456e0b2
SHA256 (.footprint) = 93ce8c657781e3da03461068dd2ea039f4c2a542a148c3576ac07a2f76e10834
SHA256 (rip-0.13.1.tar.gz) = 73acdc72386242dced117afae43429b6870aa176e8cc81e11350e0aaa95e6421

View File

@ -5,16 +5,14 @@
name=rip
version=0.13.1
release=1
release=2
source=(https://github.com/nivekuil/rip/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 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/$name
}