forked from ports/contrib
zr: initial commit, version 1.0.2
This commit is contained in:
parent
b33ad868fc
commit
c639cd8334
3
zr/.footprint
Normal file
3
zr/.footprint
Normal 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/zr
|
5
zr/.signature
Normal file
5
zr/.signature
Normal file
@ -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
|
20
zr/Pkgfile
Normal file
20
zr/Pkgfile
Normal file
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user