Skip to content

Commit

Permalink
New package: zellij-0.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tranzystorekk committed Feb 20, 2022
1 parent ffff098 commit d43ccc2
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions srcpkgs/zellij/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Template file for 'zellij'
pkgname=zellij
version=0.24.0
revision=1
# Dependency crate `wasmer-vm` only supports the following archs: x86_64, arm64, x86
# https://docs.wasmer.io/ecosystem/wasmer/wasmer-features#compiler-support-by-chipset
archs="x86_64* aarch64* i686"
build_style=cargo
build_helper=qemu
checkdepends="openssl-devel pkg-config"
short_desc="Terminal workspace with batteries included"
maintainer="Marcin Puc <marcin.e.puc@gmail.com>"
license="MIT"
homepage="https://zellij.dev"
distfiles="https://github.com/zellij-org/zellij/archive/v${version}.tar.gz"
checksum=a7f2d1fa1dd9c55d37d1daebdf6af3c6666d144ee1e85ac7f805544ae03e3b1e

post_patch() {
# temporary fix for https://github.com/void-linux/void-packages/issues/34889
cargo update --package autocfg --precise 1.1.0
}

post_build() {
ZELLIJ="target/${RUST_TARGET}/release/zellij"
vtargetrun ${ZELLIJ} setup --generate-completion bash > zellij.bash
vtargetrun ${ZELLIJ} setup --generate-completion zsh > zellij.zsh
vtargetrun ${ZELLIJ} setup --generate-completion fish > zellij.fish
}

post_install() {
vcompletion zellij.bash bash
vcompletion zellij.zsh zsh
vcompletion zellij.fish fish

vlicense LICENSE.md
vdoc README.md
}

0 comments on commit d43ccc2

Please sign in to comment.