From 6f574193d325434ea689c564407a661de38a36cb 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.18.1 --- 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..09bec9983a81 --- /dev/null +++ b/srcpkgs/zellij/template @@ -0,0 +1,33 @@ +# Template file for 'zellij' +pkgname=zellij +version=0.18.1 +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=6b12ea039462db0c585b17a153acbd2627b8bd41e6f7615e4c2f718ccc4c9b93 + +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 +}