30 lines
685 B
Bash
30 lines
685 B
Bash
# Template file for 'tectonic'
|
|
pkgname=tectonic
|
|
version=0.1.9
|
|
revision=1
|
|
hostmakedepends="cargo pkg-config"
|
|
makedepends="harfbuzz-devel libressl-devel"
|
|
short_desc="Modernized, complete, self-contained TeX/LaTeX engine"
|
|
maintainer="Chinmay Pai <chinmaydpai@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://tectonic-typesetting.github.io"
|
|
distfiles="https://github.com/tectonic-typesetting/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=970e05348d4307108ac5fef5c29dbdb988b98bee7d2732fa84c6f5d5f5865b71
|
|
nocross=yes
|
|
|
|
do_build() {
|
|
cargo build --release ${makejobs}
|
|
}
|
|
|
|
do_check() {
|
|
cargo test --release
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/${pkgname}
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|