void-packages/srcpkgs/zellij/template

34 lines
1.1 KiB
Bash
Raw Normal View History

2022-02-19 00:51:47 +01:00
# Template file for 'zellij'
pkgname=zellij
2022-03-11 16:07:49 +01:00
version=0.26.0
2022-02-19 00:51:47 +01:00
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"
changelog="https://github.com/zellij-org/zellij/blob/main/CHANGELOG.md"
distfiles="https://github.com/zellij-org/zellij/archive/v${version}.tar.gz"
2022-03-11 16:07:49 +01:00
checksum=f0b0cfe7b72ce842de80d5c32cc2abe624b3286fab16f313a4e43e226e95e87b
2022-02-19 00:51:47 +01:00
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
}