From 2c60f9a45d956f68bde67ae6692bbcfc1620c5c5 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Tue, 25 Oct 2022 11:04:53 +0200 Subject: [PATCH] zellij: update to 0.32.0 --- srcpkgs/zellij/template | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/srcpkgs/zellij/template b/srcpkgs/zellij/template index cc1566544fca..0238ad7dea50 100644 --- a/srcpkgs/zellij/template +++ b/srcpkgs/zellij/template @@ -1,6 +1,6 @@ # Template file for 'zellij' pkgname=zellij -version=0.31.4 +version=0.32.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 @@ -15,23 +15,18 @@ license="MIT" homepage="https://zellij.dev" changelog="https://raw.githubusercontent.com/zellij-org/zellij/main/CHANGELOG.md" distfiles="https://github.com/zellij-org/zellij/archive/refs/tags/v${version}.tar.gz" -checksum=286b08523457cdadee89bb1839f8d08ac402af00f3e27063520a7ed9ee7afc8a - -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 - - mandown docs/MANPAGE.md > zellij.1 -} +checksum=e81cfc94bc15faeb1cacaddcea20e6f8220e6d288b84dfdf221c17d4868de2c0 post_install() { - vcompletion zellij.bash bash - vcompletion zellij.zsh zsh - vcompletion zellij.fish fish - - vlicense LICENSE.md vdoc README.md + vlicense LICENSE.md + + ZELLIJ="${DESTDIR}/usr/bin/zellij" + for shell in bash fish zsh; do + vtargetrun ${ZELLIJ} setup --generate-completion ${shell} > zellij.${shell} + vcompletion zellij.${shell} ${shell} + done + + mandown docs/MANPAGE.md > zellij.1 vman zellij.1 }