# Template file for 'tectonic'
pkgname=tectonic
version=0.1.11
revision=2
build_style=cargo
hostmakedepends="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"
changelog="https://raw.githubusercontent.com/tectonic-typesetting/tectonic/master/CHANGELOG.md"
distfiles="https://github.com/tectonic-typesetting/${pkgname}/archive/v${version}.tar.gz"
checksum=e700dc691dfd092adfe098b716992136343ddfac5eaabb1e8cfae4e63f8454c7

pre_build() {
	cargo update --package openssl-sys --precise 0.9.46
	cargo update --package openssl --precise 0.10.22
}

post_install() {
	vlicense LICENSE
}
