From ce9066f9d7814d548f8dfa6a468c430376896dcd Mon Sep 17 00:00:00 2001 From: Chinmay Pai Date: Mon, 4 Dec 2017 23:14:05 +0530 Subject: [PATCH] New package: tectonic-0.1.7 Tectonic is a modernized, complete, self-contained TeX/LaTeX engine --- srcpkgs/tectonic/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/tectonic/template diff --git a/srcpkgs/tectonic/template b/srcpkgs/tectonic/template new file mode 100644 index 0000000000..02b0eb95e1 --- /dev/null +++ b/srcpkgs/tectonic/template @@ -0,0 +1,29 @@ +#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 " +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 +}