2020-11-19 09:46:08 +01: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
|
2023-02-25 19:49:07 +01:00
|
|
|
# Depends on: libgit2 rust xorg-libxcb
|
2020-11-19 09:46:08 +01:00
|
|
|
|
|
|
|
name=gitui
|
2023-08-27 16:26:01 +02:00
|
|
|
version=0.24.0
|
2023-06-25 21:57:28 +02:00
|
|
|
release=1
|
2020-11-19 09:46:08 +01:00
|
|
|
source=(https://github.com/extrawurst/gitui/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
2023-02-25 19:49:07 +01:00
|
|
|
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
|
|
|
|
|
|
|
cargo build --release --manifest-path $name-$version/Cargo.toml
|
2021-10-11 22:28:49 +02:00
|
|
|
|
2021-07-11 23:45:13 +02:00
|
|
|
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
2020-11-19 09:46:08 +01:00
|
|
|
}
|