aboutsummaryrefslogtreecommitdiffstats
path: root/community/tectonic/APKBUILD
blob: 03d065ac9e1d3dde1356d32ff4112e4e09009f55 (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=1
pkgdesc="Tectonic is a modernized, complete, self-contained TeX/LaTeX engine"
url="https://tectonic-typesetting.github.io"
arch="all !s390x"
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"