void-packages/srcpkgs/tectonic/template

31 lines
726 B
Bash

# Template file for 'tectonic'
pkgname=tectonic
version=0.1.8
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=e979988f89714e04e45caa894796ebce66e4ecba05bad8a9af0c323f574ed6af
nocross=yes
do_build() {
cargo update --package openssl-sys --precise 0.9.28
cargo build --release
}
do_check() {
cargo test --release
}
do_install() {
vbin target/release/${pkgname}
}
post_install() {
vlicense LICENSE
}