aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tectonic/APKBUILD
blob: 812ce108e819a0f1615a15aa63f9a5c8dd5a25e3 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=tectonic
pkgver=0.1.12
pkgrel=0
pkgdesc="Tectonic is a modernized, complete, self-contained TeX/LaTeX engine"
url="https://tectonic-typesetting.github.io"
arch="all !s390x !x86" # fails to link due to fstack-protector
license="MIT"
makedepends="
	cargo
	harfbuzz-dev
	openssl-dev
	fontconfig-dev
	"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/tectonic-typesetting/tectonic/archive/v$pkgver.tar.gz
	"

build() {
	cargo build --release
}

check() {
	cargo test --release
}

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