void-packages/srcpkgs/typst/template

27 lines
780 B
Bash

# Template file for 'typst'
pkgname=typst
reverts="23.03.28_1"
version=0.6.0
revision=1
build_style=cargo
make_install_args="--path cli"
short_desc="Markup-based typesetting system that is powerful and easy to learn"
maintainer="classabbyamp <void@placeviolette.net>"
license="Apache-2.0"
homepage="https://typst.app"
changelog="https://typst.app/docs/changelog/"
distfiles="https://github.com/typst/typst/archive/refs/tags/v${version}.tar.gz"
checksum=0f5c16c2143bbdc8889d823506e29a4706f8606ce29769916d71b17a05dda568
export TYPST_VERSION="$version"
export GEN_ARTIFACTS="./generated"
post_install() {
for f in cli/generated/*.?; do
vman "$f"
done
vcompletion cli/generated/typst.bash bash
vcompletion cli/generated/typst.fish fish
vcompletion cli/generated/_typst zsh
}