commit 5c2a3f9e7bcd445b8d938e07c231e8fef0830c86 Author: Tim Biermann <tbier@posteo.de> Date: Thu Aug 31 19:10:50 2023 +0200 rhit: 1.7.2 -> 2.0.0 diff --git a/rhit/.signature b/rhit/.signature index 797e38abf..d440aaa90 100644 --- a/rhit/.signature +++ b/rhit/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/ulv1rrBBCdQuA8aN7RwtW+xwU4vv/TD6QVCv9VWBty7ryxKAYsKSif0mFiuLsuYvsa4qPTCjCMqUtx9YTQjAM= -SHA256 (Pkgfile) = 24cc584194ed18ab8790702b834beafd8a7f84b12047f2f5f0c0c0c826943f62 +RWSagIOpLGJF35cwxiYLln8Kh60pW1vWrO2JWbV+1/Tz8tgjjqfXmEpiTGQheJNjqfb/21XX55Whd3ZRdQJymgZd+D68aHQtnw8= +SHA256 (Pkgfile) = 3dbac2d66701065496aeb574ae535aafe26d14ae8db6b063e473bf10d0b198a1 SHA256 (.footprint) = d1bc596803259e516fd10e85534f841c0ec324ac5822c125c0d622751c3e3415 -SHA256 (rhit-1.7.2.tar.gz) = a5381d88bc434a4a3db75ef39a86e9351b21b778eb54e7a264bd04863a48bad7 +SHA256 (rhit-2.0.0.tar.gz) = c95e10c48be82f34481bf85173148e5b9ecb649a0cae4541c449bb6605ebd085 diff --git a/rhit/Pkgfile b/rhit/Pkgfile index e4ab37c5c..87c6eb08e 100644 --- a/rhit/Pkgfile +++ b/rhit/Pkgfile @@ -4,15 +4,15 @@ # Depends on: rust name=rhit -version=1.7.2 +version=2.0.0 release=1 source=(https://github.com/Canop/rhit/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 + install -Dt $PKG/usr/bin $name-$version/target/release/$name }