From 4266deb5d6421515017ee352ab95de496173f9c6 Mon Sep 17 00:00:00 2001 From: Kartik Singh Date: Fri, 17 Sep 2021 14:01:02 +0530 Subject: [PATCH] New package: zellij-0.19.0 --- srcpkgs/zellij/template | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/zellij/template diff --git a/srcpkgs/zellij/template b/srcpkgs/zellij/template new file mode 100644 index 000000000000..0ba14ed5f4fe --- /dev/null +++ b/srcpkgs/zellij/template @@ -0,0 +1,33 @@ +# Template file for 'zellij' +pkgname=zellij +version=0.19.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="pkg-config" +makedepends="openssl-devel" +short_desc="Terminal workspace with batteries included" +maintainer="Kartik Singh " +license="MIT" +homepage="https://github.com/zellij-org/zellij" +distfiles="https://github.com/zellij-org/zellij/archive/refs/tags/v${version}.tar.gz" +checksum=41cc2a6ee126907bf4b9499d41bccecaa28f631c46edaf140990e1ac2c85a4ca + +post_build() { + ZELLIJ="target/${RUST_TARGET}/release/zellij" + vtargetrun ${ZELLIJ} setup --generate-completion zsh > zellij.zsh + vtargetrun ${ZELLIJ} setup --generate-completion bash > zellij.bash + vtargetrun ${ZELLIJ} setup --generate-completion fish > zellij.fish +} + +post_install() { + vcompletion zellij.bash bash + vcompletion zellij.fish fish + vcompletion zellij.zsh zsh + + vlicense LICENSE.md + vdoc docs/MANPAGE.md +}