void-packages/srcpkgs/zellij/template

38 lines
1.2 KiB
Bash
Raw Normal View History

2022-02-19 00:51:47 +01:00
# Template file for 'zellij'
pkgname=zellij
2022-04-13 17:45:30 +02:00
version=0.28.1
revision=1
2022-02-19 00:51:47 +01:00
# 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
2022-04-03 15:19:05 +02:00
hostmakedepends="mandown"
2022-02-19 00:51:47 +01:00
checkdepends="openssl-devel pkg-config"
short_desc="Terminal workspace with batteries included"
2022-03-16 14:30:12 +01:00
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
2022-02-19 00:51:47 +01:00
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-04-13 17:45:30 +02:00
checksum=8c9495e70b1c0179200d6137dd892776c7153b0b54115edf0f39fd732bb62efe
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
2022-04-03 15:19:05 +02:00
mandown docs/MANPAGE.md > zellij.1
2022-02-19 00:51:47 +01:00
}
post_install() {
vcompletion zellij.bash bash
vcompletion zellij.zsh zsh
vcompletion zellij.fish fish
vlicense LICENSE.md
vdoc README.md
2022-04-03 15:19:05 +02:00
vman zellij.1
2022-02-19 00:51:47 +01:00
}