[crux-commits] ports/contrib (3.6): dust: initial commit, version 0.5.1

crux at crux.nu crux at crux.nu
Sat Jul 25 11:19:53 UTC 2020


commit 175371268a96718c3635113699ed5a8b491d7925
Author: Tim Biermann <tbier at posteo.de>
Date:   Tue Jul 21 17:23:56 2020 +0000

    dust: initial commit, version 0.5.1

diff --git a/dust/.footprint b/dust/.footprint
new file mode 100644
index 000000000..82216dbdf
--- /dev/null
+++ b/dust/.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/dust
diff --git a/dust/.signature b/dust/.signature
new file mode 100644
index 000000000..5293c0bb5
--- /dev/null
+++ b/dust/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF31PyoTgm5hPxyhYRynvssLh+yJqUA4cEVLqc4vzhuFh0cOJU8yfo9xx9lEqvSZSPmIgOw1kGuqX9I8hRe3rI3wI=
+SHA256 (Pkgfile) = dd0ab10df408161cf5411d514a28ad49d01d96e9fa782bd734c73aa0305ec56f
+SHA256 (.footprint) = ebf861127b1397a35de9c1899cd2465dc242f8cfe10cd2522a9b91d8f1d6bfef
+SHA256 (dust-0.5.1.tar.gz) = f497b335c3c63296ef686c0ce57da3ef71b731636477b6debf5a8f91402c5785
diff --git a/dust/Pkgfile b/dust/Pkgfile
new file mode 100644
index 000000000..a4716fda3
--- /dev/null
+++ b/dust/Pkgfile
@@ -0,0 +1,21 @@
+# Description: du + rust = dust
+# URL: https://github.com/bootandy/dust
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: rust
+
+name=dust
+version=0.5.1
+release=1
+source=(https://github.com/bootandy/dust/archive/v$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/dust
+}


More information about the crux-commits mailing list