From b8989516f9d9465fb7f0262a05dd54b3ba73c125 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.17.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..b322fd25f1e3 --- /dev/null +++ b/srcpkgs/zellij/template @@ -0,0 +1,33 @@ +# Template file for 'zellij' +pkgname=zellij +version=0.17.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=a1c283e6200199ad7bdd286a4dbba1e4906bac1fa1471ba6b45c22ef55c8808d + +post_build() { + STARSHIP="target/${RUST_TARGET}/release/zellij" + vtargetrun ${STARSHIP} setup --generate-completion zsh > zellij.zsh + vtargetrun ${STARSHIP} setup --generate-completion bash > zellij.bash + vtargetrun ${STARSHIP} 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 +}