diff options
author | Tim Biermann <tbier@posteo.de> | 2020-07-21 17:23:56 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-07-21 17:24:01 +0000 |
commit | 175371268a96718c3635113699ed5a8b491d7925 (patch) | |
tree | e75bfeeb03dbe40289af193d7f30969af90dbbfa /dust | |
parent | 27d58e39cadf77b8eca857726d593a3e12c03184 (diff) | |
download | contrib-175371268a96718c3635113699ed5a8b491d7925.tar.gz contrib-175371268a96718c3635113699ed5a8b491d7925.tar.xz |
dust: initial commit, version 0.5.1
Diffstat (limited to 'dust')
-rw-r--r-- | dust/.footprint | 3 | ||||
-rw-r--r-- | dust/.signature | 5 | ||||
-rw-r--r-- | dust/Pkgfile | 21 |
3 files changed, 29 insertions, 0 deletions
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 +} |