diff options
-rw-r--r-- | procs/.signature | 6 | ||||
-rw-r--r-- | procs/Pkgfile | 18 |
2 files changed, 11 insertions, 13 deletions
diff --git a/procs/.signature b/procs/.signature index c9808d940..898c69ec9 100644 --- a/procs/.signature +++ b/procs/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3xXPHWEyRiwvlaTX7hI+sKi8qaAg44q4AXUf5+NmgnY/6M3jyHWa9NBbW/1wkRKN+TFIpx2lHpt4GWpZc92n0gI= -SHA256 (Pkgfile) = dda79de59a507f9cf0031cffdc33383b62a2b66635fdbdc058a4117f3ba93eb6 +RWSagIOpLGJF3zmGdoiqaO7N+j9B4p5Kba9KaBIRDhXS2CcTRhdvi/Wvhm6RR5p1vPui/XNz4InIFyqw0sdJNoQluKx0gwYAZQg= +SHA256 (Pkgfile) = 0bcb48879330cb24989e85cea305a2211b0a511087eb98f9688c164831f09dd4 SHA256 (.footprint) = 8a8cd0fb3ec66c6849fa052ef457bc9ce37889d9a5d9f035f2c755a1c2cab2db -SHA256 (procs-0.12.2.tar.gz) = 14be8440fe85dc46e544a3f7e89b887db455a61db981d5f75b91fd89b366d84f +SHA256 (procs-0.12.3.tar.gz) = 59720db4abdff1878492929b1c015dedff7cdc0ea2352b1360084e3bb4fbff33 diff --git a/procs/Pkgfile b/procs/Pkgfile index b5253f5c4..a0ef1edac 100644 --- a/procs/Pkgfile +++ b/procs/Pkgfile @@ -4,24 +4,22 @@ # Depends on: rust name=procs -version=0.12.2 +version=0.12.3 release=1 source=(https://github.com/dalance/procs/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 + export CARGO_HOME=$PKGMK_SOURCE_DIR/rust - cargo update --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 + cargo build --release --manifest-path $name-$version/Cargo.toml prt-get isinst bash-completion && $PKG/usr/bin/procs --completion bash && \ install -Dm644 $SRC/procs.bash \ - $PKG/usr/share/bash-completion/completions/procs || true + $PKG/usr/share/bash-completion/completions/procs prt-get isinst zsh && $PKG/usr/bin/procs --completion zsh && \ - install -Dm644 $SRC/_procs $PKG/usr/share/zsh/site-functions/_procs || \ - true + install -Dm644 $SRC/_procs $PKG/usr/share/zsh/site-functions/_procs + + install -Dt $PKG/usr/bin $name-$version/target/release/$name } |