31 lines
782 B
Bash
31 lines
782 B
Bash
# Template file for 'tectonic'
|
|
pkgname=tectonic
|
|
version=0.1.10
|
|
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"
|
|
changelog="https://raw.githubusercontent.com/tectonic-typesetting/tectonic/master/CHANGELOG.md"
|
|
distfiles="https://github.com/tectonic-typesetting/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=4b7c65692e97704dd3ffee3f4b3aaa57f3e478a2a5c6689dc9347be23ab65897
|
|
nocross=yes
|
|
|
|
do_build() {
|
|
cargo build --release ${makejobs}
|
|
}
|
|
|
|
do_check() {
|
|
cargo test --release
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/${pkgname}
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|