ports/contrib (3.6): lfs: initial commit, version 1.0.0
commit 58a290344850fee98fa2ae5f86062f2feed177d3 Author: Tim Biermann <tbier@posteo.de> Date: Sat Sep 25 18:29:58 2021 +0200 lfs: initial commit, version 1.0.0 diff --git a/lfs/.footprint b/lfs/.footprint new file mode 100644 index 000000000..8671fddef --- /dev/null +++ b/lfs/.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/lfs diff --git a/lfs/.signature b/lfs/.signature new file mode 100644 index 000000000..e2d729807 --- /dev/null +++ b/lfs/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF34moNyqQaWEtFAY77Q1Ip5+NPyBY9N4bmw52no4ocEVbfgrohGgmE5Fi5xJYHwvO/kTH2aw4gTOUrEwf4NngXgo= +SHA256 (Pkgfile) = 4af91157bf862e64ab4074009a6fd7dd32a6091d89fae6fd9cfd2eede5141ce1 +SHA256 (.footprint) = 79ccffc31e81e056e99987d40c46c8a4bd47aa98638e5a3ef0a506a11a61149e +SHA256 (lfs-1.0.0.tar.gz) = a0301fbedd30fa84d69686b070d41aa27502ce55afb3dc8560ebda0895214235 diff --git a/lfs/Pkgfile b/lfs/Pkgfile new file mode 100644 index 000000000..08c903f73 --- /dev/null +++ b/lfs/Pkgfile @@ -0,0 +1,19 @@ +# Description: A thing to get information on your mounted disks +# URL: https://github.com/Canop/lfs +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust + +name=lfs +version=1.0.0 +release=1 +source=(https://github.com/Canop/lfs/archive/v$version/$name-$version.tar.gz) + +build() { + 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 --manifest-path $name-$version/Cargo.toml + cargo build --release --locked --manifest-path $name-$version/Cargo.toml + install -Dt $PKG/usr/bin $name-$version/target/release/$name +}
participants (1)
-
crux@crux.nu