35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'zellij'
|
|
pkgname=zellij
|
|
version=0.41.1
|
|
revision=1
|
|
# Wasmtime runtime only supports the following archs: x86_64, arm64
|
|
# https://docs.wasmtime.dev/stability-tiers.html#unsupported-features-and-platforms
|
|
archs="x86_64* aarch64*"
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
hostmakedepends="mandown pkg-config"
|
|
makedepends="libcurl-devel libzstd-devel"
|
|
checkdepends="libssh2-devel"
|
|
short_desc="Terminal workspace with batteries included"
|
|
maintainer="tranzystorekk <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=72db7eb7257db08f338f37f0294791ea815140f739fbcb7059ccb0c8165a99d3
|
|
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
|
|
}
|