pantry/projects/typst.app/package.yml

30 lines
574 B
YAML
Raw Normal View History

2023-03-22 05:24:21 +03:00
distributable:
2023-04-25 05:46:20 +03:00
url: https://github.com/typst/typst/archive/refs/tags/v{{ version }}.tar.gz
2023-03-22 05:24:21 +03:00
strip-components: 1
versions:
2023-04-25 05:46:20 +03:00
github: typst/typst/releases/tags
2023-03-22 05:24:21 +03:00
build:
dependencies:
rust-lang.org: ^1.61
rust-lang.org/cargo: ^0.65
script: |
cargo install --path cli --locked --root {{prefix}}
env:
2023-04-25 05:46:20 +03:00
TYPST_VERSION: ${{ version }}
2023-03-22 05:24:21 +03:00
provides:
- bin/typst
test:
fixture: |
Total displaced soil by glacial flow:
$ 7.32 beta +
sum_(i=0)^nabla Q_i / 2 $
script: |
cp $FIXTURE test.typ
2023-04-25 05:46:20 +03:00
typst compile test.typ
2023-03-22 05:24:21 +03:00
test -s test.pdf