ports/contrib (3.6): zr: initial commit, version 1.0.2
commit c639cd8334e78b6203c583a3b0eb43edcf3b9705 Author: Tim Biermann <tbier@posteo.de> Date: Sun Jun 27 13:50:47 2021 +0000 zr: initial commit, version 1.0.2 diff --git a/zr/.footprint b/zr/.footprint new file mode 100644 index 000000000..ae8575314 --- /dev/null +++ b/zr/.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/zr diff --git a/zr/.signature b/zr/.signature new file mode 100644 index 000000000..783171c4f --- /dev/null +++ b/zr/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3wkID+JIE5UuJTlSuzCfgPoQC7lONmsC2V4vMLl0QT1qXLrNAzDpCVbJElaltbYMAunKDLwzUvU8qEj5cREVrw0= +SHA256 (Pkgfile) = 0a994f84540d723c2b79cbc43dff3e2922e87c68ada493c300771d86c09e4f57 +SHA256 (.footprint) = b953768a85d835895d4459caa9e12d15e6927eb8ff3cf031e4b3e0d89721249a +SHA256 (zr-1.0.2.tar.gz) = 0c5c6e68aa96014a6aa3407bd332f8909ff5c0fc32104a7e4edd4368719c0fa5 diff --git a/zr/Pkgfile b/zr/Pkgfile new file mode 100644 index 000000000..809c7951e --- /dev/null +++ b/zr/Pkgfile @@ -0,0 +1,20 @@ +# Description: zsh plugin manager written in rust +# URL: https://github.com/jedahan/zr +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust zsh + +name=zr +version=1.0.2 +release=1 +source=(https://github.com/jedahan/zr/archive/$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