Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e4bff7
commit 5591f85
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <kartik.ynwa@gmail.com>" | ||
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 | ||
} |