ports/contrib (3.7): exa: rebuild for libgit2
commit 231e1e76a7e2ccce9c94d3867a00c5cb679cfc70 Author: Tim Biermann <tbier@posteo.de> Date: Sat Feb 25 19:57:47 2023 +0100 exa: rebuild for libgit2 diff --git a/exa/.signature b/exa/.signature index 9d6cd95d2..6bcbc8648 100644 --- a/exa/.signature +++ b/exa/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3zOpvtcnDUuVEH8U9/Qd8kEsh+vLp/tD9IRcDXkgnlhUbmQjI0zvjJoR5cmifzjV8bq58eWoUC2FYWDiK86HfQQ= -SHA256 (Pkgfile) = 5ea35b8b0a1101731507f1ffc1efb7b139e24d8d416a7ee75c915461ab99e049 +RWSagIOpLGJF32o8tbOxWU0ebANQ51vYpmtC2UsLtOmv87PTzm0KS/pJjrGZrLV7aW6zV37C7RmyyW1I77wGX7s3ddVWilNNaAE= +SHA256 (Pkgfile) = b1d127ad67f6c97144a748076c39b7396b4de6a512db96bd70118f2158eecce9 SHA256 (.footprint) = bc31d95b8c11ef950831c0aaa1721d3a40aa918182ea44bd94d88b9b212d02d6 SHA256 (exa-0.10.1.tar.gz) = ff0fa0bfc4edef8bdbbb3cabe6fdbd5481a71abbbcc2159f402dea515353ae7c SHA256 (1051.patch) = d772cd21a7172f7de2f79de844f10d1c6423a2e739c899e57e985f22a8dbb7dc diff --git a/exa/Pkgfile b/exa/Pkgfile index 883553cdd..017c6b1d0 100644 --- a/exa/Pkgfile +++ b/exa/Pkgfile @@ -2,6 +2,7 @@ # URL: https://the.exa.website/ # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: rust +# Optional: libgit2 name=exa version=0.10.1 @@ -11,18 +12,18 @@ source=(https://github.com/ogham/exa/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" + [[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust patch -Np1 -d $name-$version -i $SRC/1051.patch - cargo update --manifest-path $name-$version/Cargo.toml - cargo fetch --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/exa + cargo build --release --manifest-path $name-$version/Cargo.toml - prt-get isinst bash-completion && install -Dm644 $name-$version/completions/completions.bash \ - $PKG/usr/share/bash-completion/completions/$name || true - prt-get isinst zsh && install -Dm644 $name-$version/completions/completions.zsh \ - $PKG/usr/share/zsh/site-functions/_$name || true + prt-get isinst bash-completion && \ + install -Dm644 $name-$version/completions/completions.bash \ + $PKG/usr/share/bash-completion/completions/$name + prt-get isinst zsh && \ + install -Dm644 $name-$version/completions/completions.zsh \ + $PKG/usr/share/zsh/site-functions/_$name + + install -Dt $PKG/usr/bin $name-$version/target/release/$name }
participants (1)
-
crux@crux.nu