blob: 70dc807d3df19863c5dfbdbf699ed20a88f3b563 (
plain)
1 # Description: simple process viewer in rust
2 # URL: https://github.com/epilys/bb
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: rust
5
6 name=bb-top
7 version=0.4.3
8 release=1
9 source=(https://github.com/epilys/bb/archive/$version/bb-$version.tar.gz)
10
11 build() {
12 cd bb-$version
13
14 prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
15 mkdir "$PKGMK_SOURCE_DIR/rust" || true
16 export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
17
18 cargo update
19 cargo fetch
20 cargo build --release --locked
21 install -Dt $PKG/usr/bin target/release/bb
22 }
|