diff --git a/srcpkgs/typst/template b/srcpkgs/typst/template index 836807a0eef..1765ae3aaa2 100644 --- a/srcpkgs/typst/template +++ b/srcpkgs/typst/template @@ -1,7 +1,7 @@ # Template file for 'typst' pkgname=typst reverts="23.03.28_1" -version=0.1.0 +version=0.2.0 revision=1 build_style=cargo make_install_args="--path cli" @@ -11,6 +11,16 @@ 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=9da7543266c7776aed56c36b9fab95fdb7241674b426cfba287a21f4cf07c172 +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 +}