34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'zellij'
|
|
pkgname=zellij
|
|
version=0.38.2
|
|
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="libssh2-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=18e8ae9fa2ad995af5f6c64b3c0713143d260cdc6c1a978831313bfaf305ad5e
|
|
make_check_pre="env LIBSSH2_SYS_USE_PKG_CONFIG=1"
|
|
|
|
post_install() {
|
|
vdoc README.md
|
|
vinstall assets/zellij.desktop 644 usr/share/applications
|
|
vlicense LICENSE.md
|
|
|
|
for shell in bash fish zsh; do
|
|
vtargetrun "${DESTDIR}/usr/bin/zellij" setup --generate-completion ${shell} > zellij.${shell}
|
|
vcompletion zellij.${shell} ${shell}
|
|
done
|
|
|
|
mandown docs/MANPAGE.md > zellij.1
|
|
vman zellij.1
|
|
}
|