2021-06-24 18:53:29 +00:00
|
|
|
# Description: A terminal workspace with batteries included
|
|
|
|
# URL: https://github.com/zellij-org/zellij
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: rust
|
|
|
|
|
|
|
|
name=zellij
|
2023-08-31 19:08:28 +02:00
|
|
|
version=0.38.1
|
2021-06-24 18:53:29 +00:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/zellij-org/zellij/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
2023-06-18 20:41:48 +02:00
|
|
|
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
2021-06-24 18:53:29 +00:00
|
|
|
|
2022-07-30 09:37:39 +02:00
|
|
|
cargo build --release --manifest-path $name-$version/Cargo.toml
|
2021-06-24 18:53:29 +00:00
|
|
|
|
|
|
|
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
|
|
|
}
|