aboutsummaryrefslogtreecommitdiffstats
path: root/community/tectonic/APKBUILD
blob: 04181a0ea76200810ad71eb86f63718824512069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=tectonic
pkgver=0.4.1
pkgrel=0
pkgdesc="Tectonic is a modernized, complete, self-contained TeX/LaTeX engine"
url="https://tectonic-typesetting.github.io"
# s390x, mips64, riscv64: rust
# 32-bit: SIGSEGVs in tests
arch="all !s390x !mips64 !armhf !armv7 !x86 !riscv64"
license="MIT"
makedepends="
	cargo
	harfbuzz-dev
	openssl-dev
	fontconfig-dev
	"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/tectonic-typesetting/tectonic/archive/tectonic@$pkgver.tar.gz
	"
builddir="$srcdir/tectonic-tectonic-$pkgver"

build() {
	cargo build --release
}

check() {
	cargo test --release
}

package() {
	install -Dm755 "$builddir"/target/release/tectonic "$pkgdir"/usr/bin/tectonic
}
sha512sums="51545baf8fac594acdb795351ff0c6d02403375d1b8f483e4b9981407fc03c8ad861e96d252a7db6d2a8a71cdfd6875695ffa56edfd8bdf79ecc20d4dfed6f66  tectonic-0.4.1.tar.gz"