2020-11-19 08:46:08 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
name=gitui
|
2021-06-06 08:45:24 +00:00
|
|
|
version=0.16.1
|
2020-11-19 08:46:08 +00:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/extrawurst/gitui/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
|
|
|
mkdir "$PKGMK_SOURCE_DIR/rust" || true
|
|
|
|
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
|
|
|
|
|
|
|
cargo fetch
|
|
|
|
cargo build --release
|
|
|
|
install -Dt $PKG/usr/bin target/release/gitui
|
|
|
|
}
|