forked from ports/contrib
zenith: 0.13.1 -> 0.14.0; adopted port
This commit is contained in:
parent
4f94c9c8ee
commit
7229bd290b
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF39gNzipWOW9Y1BPK4u1/gL5LcrHY+ruBYn0wlM5Jo58ooQuUV8SW3sK5rSIqYXTY4QP3GYpgadNn8HazzHhrrw0=
|
||||
SHA256 (Pkgfile) = d2e816c055fc6ff4e6ba4e9255a253fc3a2884f25852232925c2f33dd421c251
|
||||
RWSagIOpLGJF38OVC2EL/AYSaR86Mvg7m4QS1lnTUHHjeB4TNUJD/hnaun0Khx55xDDUCNA+O+JNHkWWurITvZuNUy2zhDiu0ws=
|
||||
SHA256 (Pkgfile) = 0c0feebf20250489f527484cc9177d49d4493a718c1ec43cc1b04dab544d0441
|
||||
SHA256 (.footprint) = f181f104338754eab73c44388e38839390b832e106fb08b80f45266eaef3ca07
|
||||
SHA256 (zenith-0.13.1.tar.gz) = 1f2914a1ddd7dd76cca0e0c07ca77bd048addfd80fc6329ea7b83647ea66020a
|
||||
SHA256 (zenith-0.14.0.tar.gz) = 2cbcea2625cfa97c161b974ad412a47e330f7fd31bec0479e329ed3606cfc569
|
||||
|
@ -1,23 +1,22 @@
|
||||
# Description: Terminal system monitor with histograms
|
||||
# URL: https://github.com/bvaisvil/zenith
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: clang rust
|
||||
# Optional: nvidia
|
||||
|
||||
name=zenith
|
||||
version=0.13.1
|
||||
version=0.14.0
|
||||
release=1
|
||||
source=(https://github.com/bvaisvil/zenith/archive/$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
mkdir "$PKGMK_SOURCE_DIR/rust" || true
|
||||
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
||||
|
||||
prt-get isinst nvidia && PKGMK_ZENITH+=' --features nvidia'
|
||||
prt-get isinst nvidia-sl && PKGMK_ZENITH+=' --features nvidia'
|
||||
prt-get isinst nvidia && PKGMK_ZENITH+=' --features nvidia'
|
||||
prt-get isinst nvidia-sl && PKGMK_ZENITH+=' --features nvidia'
|
||||
|
||||
cargo build --release ${PKGMK_ZENITH}
|
||||
install -Dt $PKG/usr/bin target/release/zenith
|
||||
cargo build --release --manifest-path $name-$version/Cargo.toml ${PKGMK_ZENITH}
|
||||
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user