From 545a39f4757ac51f9c7417b270d9aa88a5906ea6 Mon Sep 17 00:00:00 2001 From: Kartik Singh Date: Fri, 17 Sep 2021 14:01:02 +0530 Subject: [PATCH 1/2] New package: zellij-0.17.0 --- srcpkgs/zellij/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/zellij/template diff --git a/srcpkgs/zellij/template b/srcpkgs/zellij/template new file mode 100644 index 000000000000..ede547eda0df --- /dev/null +++ b/srcpkgs/zellij/template @@ -0,0 +1,28 @@ +# Template file for 'zellij' +pkgname=zellij +version=0.17.0 +revision=1 +build_style=cargo +build_helper=qemu +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 +} From e0571f3f20afa35ece6e6d985dcfcf9b725d8206 Mon Sep 17 00:00:00 2001 From: Kartik Singh Date: Fri, 17 Sep 2021 18:47:48 +0530 Subject: [PATCH 2/2] Add pkg-config --- srcpkgs/zellij/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/zellij/template b/srcpkgs/zellij/template index ede547eda0df..fbd2a149d157 100644 --- a/srcpkgs/zellij/template +++ b/srcpkgs/zellij/template @@ -2,8 +2,10 @@ pkgname=zellij version=0.17.0 revision=1 +archs="~armv*" build_style=cargo build_helper=qemu +hostmakedepends="pkg-config" short_desc="Terminal workspace with batteries included" maintainer="Kartik Singh " license="MIT"