void-packages/srcpkgs/tectonic/template
Chinmay Pai ce9066f9d7 New package: tectonic-0.1.7
Tectonic is a modernized, complete, self-contained TeX/LaTeX engine
2017-12-04 23:14:05 +05:30

29 lines
769 B
Bash

#template file for 'tectonic'
pkgname=tectonic
version=0.1.7
revision=1
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 build --release
}
do_check() {
cargo test --release
}
do_install() {
vbin target/release/${pkgname}
}
post_install() {
vlicense LICENSE
}