2021-01-26 11:04:03 +00:00
|
|
|
# Description: simple process viewer in rust
|
|
|
|
# URL: https://github.com/epilys/bb
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: rust
|
|
|
|
|
2021-01-26 12:51:26 +00:00
|
|
|
name=bb-top
|
2021-01-26 11:04:03 +00:00
|
|
|
version=0.4.3
|
2023-03-12 19:46:54 +01:00
|
|
|
release=2
|
|
|
|
_commit=6c36391b85b93aec5d14864f6822d00dd79f9ba6
|
|
|
|
source=(https://github.com/TimB87/bb/archive/$_commit/bb-$_commit.tar.gz)
|
2021-01-26 11:04:03 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
2023-03-12 19:46:54 +01:00
|
|
|
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
|
|
|
|
|
|
|
cargo build --release --manifest-path bb-$_commit/Cargo.toml
|
2021-01-26 11:04:03 +00:00
|
|
|
|
2023-03-12 19:46:54 +01:00
|
|
|
install -Dt $PKG/usr/bin bb-$_commit/target/release/bb
|
2021-01-26 11:04:03 +00:00
|
|
|
}
|