From b6ca8ee1825e320fefde4f23d92fd7e12dc45d5f Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Sat, 19 Feb 2022 00:51:47 +0100 Subject: [PATCH] New package: zellij-0.25.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 00000000000000..6d708975e84679 --- /dev/null +++ b/srcpkgs/zellij/template @@ -0,0 +1,33 @@ +# Template file for 'zellij' +pkgname=zellij +version=0.25.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 +checkdepends="openssl-devel pkg-config" +short_desc="Terminal workspace with batteries included" +maintainer="Marcin Puc " +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" +checksum=5bd4e6a726cf32e096f9c90d7dc414e63dee0613a56f5b665f4bfc6376dcf20a + +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 +} + +post_install() { + vcompletion zellij.bash bash + vcompletion zellij.zsh zsh + vcompletion zellij.fish fish + + vlicense LICENSE.md + vdoc README.md +}