diff options
Diffstat (limited to 'community/tectonic/APKBUILD')
-rw-r--r-- | community/tectonic/APKBUILD | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/community/tectonic/APKBUILD b/community/tectonic/APKBUILD index 04181a0ea76..a1fb4e38727 100644 --- a/community/tectonic/APKBUILD +++ b/community/tectonic/APKBUILD @@ -1,34 +1,48 @@ # Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=tectonic -pkgver=0.4.1 +pkgver=0.15.0 pkgrel=0 pkgdesc="Tectonic is a modernized, complete, self-contained TeX/LaTeX engine" url="https://tectonic-typesetting.github.io" -# s390x, mips64, riscv64: rust +# s390x, riscv64: rust # 32-bit: SIGSEGVs in tests -arch="all !s390x !mips64 !armhf !armv7 !x86 !riscv64" +arch="all !s390x !armhf !armv7 !x86 !riscv64" license="MIT" +# needed for font things +depends="icu-data-full" makedepends=" cargo - harfbuzz-dev - openssl-dev + cargo-auditable + curl-dev fontconfig-dev + harfbuzz-dev + openssl-dev>3 " -source=" - $pkgname-$pkgver.tar.gz::https://github.com/tectonic-typesetting/tectonic/archive/tectonic@$pkgver.tar.gz - " +source="$pkgname-$pkgver.tar.gz::https://github.com/tectonic-typesetting/tectonic/archive/tectonic@$pkgver.tar.gz" builddir="$srcdir/tectonic-tectonic-$pkgver" +options="net !check" # needs unpackages ubuntu mono font + +_features="--no-default-features --features=external-harfbuzz,geturl-curl" + +prepare() { + default_prepare + + cargo fetch --target="$CTARGET" --locked +} build() { - cargo build --release + cargo auditable build --release --frozen $_features } check() { - cargo test --release + cargo test --frozen $_features } package() { - install -Dm755 "$builddir"/target/release/tectonic "$pkgdir"/usr/bin/tectonic + install -Dm755 target/release/tectonic "$pkgdir"/usr/bin/tectonic } -sha512sums="51545baf8fac594acdb795351ff0c6d02403375d1b8f483e4b9981407fc03c8ad861e96d252a7db6d2a8a71cdfd6875695ffa56edfd8bdf79ecc20d4dfed6f66 tectonic-0.4.1.tar.gz" + +sha512sums=" +82ccaf68ddfb864ae439b2698a518ce77b000044b74d7752e9a45fa200c95d3a08cbdda14c2d253b4c78824e061bd2721f26fa2cac2ace9d60684cb330d1f3be tectonic-0.15.0.tar.gz +" |