30 lines
769 B
Bash
30 lines
769 B
Bash
#template file for 'tectonic'
|
|
pkgname=tectonic
|
|
version=0.1.7
|
|
revision=3
|
|
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
|
|
}
|