1
0
forked from ports/contrib

dust: initial commit, version 0.5.1

This commit is contained in:
Tim Biermann 2020-07-21 17:23:56 +00:00
parent 27d58e39ca
commit 175371268a
3 changed files with 29 additions and 0 deletions

3
dust/.footprint Normal file
View File

@ -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

5
dust/.signature Normal file
View File

@ -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

21
dust/Pkgfile Normal file
View File

@ -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
}