22 lines
584 B
Plaintext
22 lines
584 B
Plaintext
# 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
|
|
version=0.16.1
|
|
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
|
|
}
|