diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-10-10 12:38:38 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-10-15 18:38:50 +0200 |
commit | 5ddb1d73a04b90e5be0a653e5f0cc40f415119a9 (patch) | |
tree | 279bc8494a04655c46d058f50caee9e662f691ca /testing/tectonic/APKBUILD | |
parent | 17182667650862cd77bcc4dfdcb7df53f7996650 (diff) | |
download | aports-5ddb1d73a04b90e5be0a653e5f0cc40f415119a9.tar.bz2 aports-5ddb1d73a04b90e5be0a653e5f0cc40f415119a9.tar.xz |
testing/tectonic: new aport
Diffstat (limited to 'testing/tectonic/APKBUILD')
-rw-r--r-- | testing/tectonic/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/tectonic/APKBUILD b/testing/tectonic/APKBUILD new file mode 100644 index 0000000000..14e7cad3e6 --- /dev/null +++ b/testing/tectonic/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=tectonic +pkgver=0.1.11 +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="b3113a0783ee2688bdbfaa9dd870cff304ab64700a63d6179784e44a825614b9de5f27181589edf30aa223a577b771cdb3e2807e2b1521b787ff9804e2157a90 tectonic-0.1.11.tar.gz" |