void-packages/srcpkgs/zellij/template

33 lines
1.0 KiB
Bash

# Template file for 'zellij'
pkgname=zellij
version=0.32.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
hostmakedepends="mandown"
checkdepends="openssl-devel pkg-config"
short_desc="Terminal workspace with batteries included"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://zellij.dev"
changelog="https://raw.githubusercontent.com/zellij-org/zellij/main/CHANGELOG.md"
distfiles="https://github.com/zellij-org/zellij/archive/refs/tags/v${version}.tar.gz"
checksum=e81cfc94bc15faeb1cacaddcea20e6f8220e6d288b84dfdf221c17d4868de2c0
post_install() {
vdoc README.md
vlicense LICENSE.md
ZELLIJ="${DESTDIR}/usr/bin/zellij"
for shell in bash fish zsh; do
vtargetrun ${ZELLIJ} setup --generate-completion ${shell} > zellij.${shell}
vcompletion zellij.${shell} ${shell}
done
mandown docs/MANPAGE.md > zellij.1
vman zellij.1
}