[crux-commits] ports/contrib (refs/remotes/origin/3.6): bb-top: initial commit, version 0.4.3

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:00 UTC 2021


commit a727661a5eb26ffbae4fb663ae04341c2c6514ce
Author: Tim Biermann <tbier at posteo.de>
Date:   Tue Jan 26 11:04:03 2021 +0000

    bb-top: initial commit, version 0.4.3

diff --git a/bb-top/.footprint b/bb-top/.footprint
new file mode 100644
index 000000000..eb18746c6
--- /dev/null
+++ b/bb-top/.footprint
@@ -0,0 +1,3 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/bb
diff --git a/bb-top/.signature b/bb-top/.signature
new file mode 100644
index 000000000..ac9ec70b3
--- /dev/null
+++ b/bb-top/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF3ywFXm/UY4QaPeTgEZ5IMZe9sPkCu93O1fYCq0yRdrvlurYrNXYooHujna5NF0UTgn3Rvapl04s+/CgTUDYipwM=
+SHA256 (Pkgfile) = 55c9d26588c7b2976ca7fde64e1e6d41a3e0b97ef007581e21cc791d3843a25b
+SHA256 (.footprint) = bf635e7e87afa4f1e7a45b33d601302ef9f3bc239d2819d9c7300d8a6f8c0eec
+SHA256 (bb-0.4.3.tar.gz) = b37b1421f2252acfa37eca6fa3f98848e31acdeb548d51ad085809317242a0ea
diff --git a/bb-top/Pkgfile b/bb-top/Pkgfile
new file mode 100644
index 000000000..2c3f120ed
--- /dev/null
+++ b/bb-top/Pkgfile
@@ -0,0 +1,21 @@
+# Description: simple process viewer in rust
+# URL: https://github.com/epilys/bb
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: rust
+
+name=bb
+version=0.4.3
+release=1
+source=(https://github.com/epilys/bb/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"
+
+  cargo update
+  cargo fetch
+  cargo build --release --locked
+  install -Dt $PKG/usr/bin target/release/bb
+}


More information about the crux-commits mailing list