gitui: rebuild for libgit2

This commit is contained in:
Tim Biermann 2023-02-25 19:49:07 +01:00
parent 24049be222
commit d70c20cd6f
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xSNI/aSRUmIIwFHgjr1IAMm+T+GM/t9CW3Ka65QRwcb9UYWAS/K/3toQm85ZDyXP007SzF+c0W2VTuWJs9sqAc=
SHA256 (Pkgfile) = 46dad178853eeb1356a0481d07e4f8d0c804ce307dbc7514341dbd7ab2b1424f
RWSagIOpLGJF34mJ4lDKN8sxrfYKkapwmnFl2C3+ZL+nNgHlmalSIj6woJaGG3WGDZfpNP0L5VJdxpGzg+EWuU9NhYVmmgw6vwg=
SHA256 (Pkgfile) = f9638dd1afa48ef73117009b4efac4a1970720eba1c285c9c17f1abf1f9af381
SHA256 (.footprint) = adfcc47470b14395e43a31d4d47625f61396b4f69abaa4f0f4a0b0aff4337667
SHA256 (gitui-0.22.1.tar.gz) = 285e86c136ee7f410fdd52c5284ccf0d19011cc5f7709e5e10bb02f439a218ea

View File

@ -1,19 +1,18 @@
# Description: blazing fast terminal-ui for git written in rust
# URL: https://github.com/extrawurst/gitui
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust xorg-libxcb
# Depends on: libgit2 rust xorg-libxcb
name=gitui
version=0.22.1
release=1
release=3
source=(https://github.com/extrawurst/gitui/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
cargo build --release --manifest-path $name-$version/Cargo.toml
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
}