void-packages/srcpkgs/tectonic/template
Johannes Brechtmann b7e7149d70
tectonic: cleanup and unbreak
Closes #13917.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-30 19:14:43 +02:00

30 lines
822 B
Bash

#template file for 'tectonic'
pkgname=tectonic
version=0.1.7
revision=4
hostmakedepends="rust cargo pkg-config"
makedepends="fontconfig-devel freetype-devel harfbuzz-devel graphite-devel libressl-devel libpng-devel zlib-devel icu-devel icu-libs"
short_desc="A 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=c39acc8a4e2e102245037fd2ea3e77b058d25e29bbab0dcc53a3167c5d3fee2a
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
}