void-packages/srcpkgs/typst/template

27 lines
780 B
Bash

# Template file for 'typst'
pkgname=typst
reverts="23.03.28_1"
version=0.2.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=f52e1cab191034354b3adaa97c27cbf16ed99486dc302b014bf211a8b6a7e964
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
}