diff options
author | Tim Biermann <tbier@posteo.de> | 2022-12-17 12:12:05 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-12-17 15:33:25 +0000 |
commit | 37f81c1d93c22f8620c868aa0eccc92b22c22b59 (patch) | |
tree | 6c6a3198c8706dba31ff033e97c599568750a336 /regtail | |
parent | a5ecc812e120f2316478fee9b9dde68f70054926 (diff) | |
download | contrib-37f81c1d93c22f8620c868aa0eccc92b22c22b59.tar.gz contrib-37f81c1d93c22f8620c868aa0eccc92b22c22b59.tar.xz |
regtail: don't manually update cargo.lock
Diffstat (limited to 'regtail')
-rw-r--r-- | regtail/.signature | 4 | ||||
-rw-r--r-- | regtail/Pkgfile | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/regtail/.signature b/regtail/.signature index 947d640c7..01556e4f2 100644 --- a/regtail/.signature +++ b/regtail/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF39uYBh1Rzf15xgP1XUF9h/ZAfNV357sAAznaPY1q/4EXfDVfTDYVXDNuaUgKWTAF1i7uOz+A/X+225jfhVmkWg4= -SHA256 (Pkgfile) = a8fc59b6dff2e0c5300e228b3fddaf86474969f7a9df3a5420f37d8af2844f39 +RWSagIOpLGJF3xwwDAmMJAqlRmISn1aOD+QKWIOZ/FF+ejyXEdYXMvk0RnU0OIACUELBC0XeqMU3C09MQaNDF1Ithjr6d/RPBA8= +SHA256 (Pkgfile) = 3b9bdf70e181cb3fb1d20fd1d1612259de2422a74662a692d7b2a9aac44e48be SHA256 (.footprint) = 644f633f68dc6d923e7475a2b01e0302c81906cf1bf3dfc97e40352cefe271fe SHA256 (regtail-0.1.1.tar.gz) = 42d25cf5572492b1c4d6c024200de245b9899e6e9c590c73144967ad30627a6f diff --git a/regtail/Pkgfile b/regtail/Pkgfile index e640a824d..c6089d257 100644 --- a/regtail/Pkgfile +++ b/regtail/Pkgfile @@ -5,15 +5,14 @@ name=regtail version=0.1.1 -release=1 +release=2 source=(https://github.com/StoneDot/regtail/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 update --manifest-path $SRC/$name-$version/Cargo.toml - cargo build --release --locked --manifest-path $SRC/$name-$version/Cargo.toml - install -Dt $PKG/usr/bin $name-$version/target/release/regtail + cargo build --release --manifest-path $name-$version/Cargo.toml + + install -Dt $PKG/usr/bin $name-$version/target/release/$name } |