[arch-commits] Commit in tectonic/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Apr 14 22:21:04 UTC 2022


    Date: Thursday, April 14, 2022 @ 22:21:04
  Author: felixonmars
Revision: 1186339

archrelease: copy trunk to community-staging-x86_64

Added:
  tectonic/repos/community-staging-x86_64/
  tectonic/repos/community-staging-x86_64/PKGBUILD
    (from rev 1186338, tectonic/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: tectonic/repos/community-staging-x86_64/PKGBUILD (from rev 1186338, tectonic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-04-14 22:21:04 UTC (rev 1186339)
@@ -0,0 +1,41 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: tectonic-deploy <sasha+tectonic at hackafe.net>
+# Contributor: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Jan Tojnar <jtojnar at gmail.com>
+
+pkgname=tectonic
+pkgver=0.8.2
+pkgrel=2
+pkgdesc='Modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive'
+arch=('x86_64')
+url='https://tectonic-typesetting.github.io/'
+license=('MIT')
+depends=('fontconfig' 'harfbuzz-icu' 'openssl')
+makedepends=('cargo' 'pkg-config')
+options=(!lto)
+source=("https://github.com/tectonic-typesetting/tectonic/archive/refs/tags/tectonic@${pkgver}.tar.gz")
+b2sums=('31bb6ba36fe033664d96f1636a49fafc58d623aad4a1149007e526581ae15ff90a194b2814ea296220562af4967849114d446c418afb18a2928284b51678b2b0')
+
+prepare() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  export RUSTUP_TOOLCHAIN=stable
+  export CARGO_TARGET_DIR=target
+  cargo build --release --locked --features external-harfbuzz
+}
+
+check() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  export RUSTUP_TOOLCHAIN=stable
+  cargo test --release --locked --features external-harfbuzz
+}
+
+package() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  install -Dm755 target/release/tectonic "${pkgdir}"/usr/bin/tectonic
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list