contrib/zellij/Pkgfile

19 lines
576 B
Plaintext
Raw Normal View History

2021-06-24 20:53:29 +02: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-11-30 10:28:17 +01:00
version=0.39.2
2021-06-24 20:53:29 +02: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 20:53:29 +02:00
2022-07-30 09:37:39 +02:00
cargo build --release --manifest-path $name-$version/Cargo.toml
2021-06-24 20:53:29 +02:00
install -Dt $PKG/usr/bin $name-$version/target/release/$name
}