28 lines
908 B
Bash
28 lines
908 B
Bash
# Template file for 'typst'
|
|
pkgname=typst
|
|
reverts="23.03.28_1"
|
|
version=0.10.0
|
|
revision=1
|
|
build_style=cargo
|
|
configure_args="--no-default-features --features=embed-fonts"
|
|
make_install_args="--path crates/typst-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=f1b7baba3c6f6f37dee6d05c9ab53d2ba5cd879a57b6e726dedf9bc51811e132
|
|
|
|
export TYPST_VERSION="$version"
|
|
export GEN_ARTIFACTS="./generated"
|
|
|
|
post_install() {
|
|
for f in crates/typst-cli/generated/*.?; do
|
|
vman "$f"
|
|
done
|
|
vcompletion crates/typst-cli/generated/typst.bash bash
|
|
vcompletion crates/typst-cli/generated/typst.fish fish
|
|
vcompletion crates/typst-cli/generated/_typst zsh
|
|
}
|