From 69a47f848863f788615256f4181c272ae843592f 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.24.0 --- srcpkgs/zellij/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/zellij/template diff --git a/srcpkgs/zellij/template b/srcpkgs/zellij/template new file mode 100644 index 000000000000..a13fac3c6850 --- /dev/null +++ b/srcpkgs/zellij/template @@ -0,0 +1,30 @@ +# Template file for 'zellij' +pkgname=zellij +version=0.24.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 +checkdepends="openssl-devel pkg-config" +short_desc="Terminal workspace with batteries included" +maintainer="Marcin Puc " +license="MIT" +homepage="https://zellij.dev" +distfiles="https://github.com/zellij-org/zellij/archive/v${version}.tar.gz" +checksum=a7f2d1fa1dd9c55d37d1daebdf6af3c6666d144ee1e85ac7f805544ae03e3b1e + +post_build() { + ZELLIJ="target/${RUST_TARGET}/release/zellij" + ${ZELLIJ} setup --generate-completion bash > zellij.bash + ${ZELLIJ} setup --generate-completion zsh > zellij.zsh + ${ZELLIJ} setup --generate-completion fish > zellij.fish +} + +post_install() { + vcompletion zellij.bash bash + vcompletion zellij.zsh zsh + vcompletion zellij.fish fish + + vlicense LICENSE.md +}