grex: 1.4.0 -> 1.4.1

This commit is contained in:
Tim Biermann 2022-10-22 14:29:27 +02:00
parent 97f63d7677
commit 0e44dd16c0
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 7 additions and 9 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zDgzF3yqB9+T+e48nBxNiFRQ4ITfv8Sn8SePVbyFTtDJyD4p/UvKujuwYmfIInqhZlyH3+0Orwz1b27RBMriQs=
SHA256 (Pkgfile) = 02cce12df01eab8d524a0f499b3b1fc1d76aa51477220d6b22585b1fe00d0067
RWSagIOpLGJF34B0AiPgsiY/bdVZjuDuYzZaUrSXRGhJJjUrGTIVt5hyQD7Wj26ddqncaAX5cTBEZPCrdxgGukCm56ilVT7Qcg8=
SHA256 (Pkgfile) = 08dd647080580935fea8a1d9b7af9fd91c69c4ad06bbfa1f96a2e74898beb326
SHA256 (.footprint) = 892b73ceb503cb594a871e66248fecb170addd6d0cac4dd12f1e17fbac9c9990
SHA256 (grex-1.4.0.tar.gz) = 38610a97665a30a3b66519df41f979a39a0503d2e9ac6e1e3e3394ec305e7987
SHA256 (grex-1.4.1.tar.gz) = 8413aae520d696969525961438d22e31cd966058ce3510e91e77da18603c96b9

View File

@ -4,17 +4,15 @@
# Depends on: rust
name=grex
version=1.4.0
version=1.4.1
release=1
source=(https://github.com/pemistahl/grex/archive/v$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 build --release --manifest-path $name-$version/Cargo.toml
cargo update --manifest-path $name-$version/Cargo.toml
cargo fetch --manifest-path $name-$version/Cargo.toml
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
install -Dt $PKG/usr/bin $name-$version/target/release/$name
}