From 7cab688bac1bd7860a921c23e33c30c532e620f2 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 | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 srcpkgs/zellij/template diff --git a/srcpkgs/zellij/template b/srcpkgs/zellij/template new file mode 100644 index 000000000000..ace290d7bdac --- /dev/null +++ b/srcpkgs/zellij/template @@ -0,0 +1,31 @@ +# Template file for 'zellij' +pkgname=zellij +version=0.17.0 +revision=1 +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 +}