Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
typst
Commits:
79d25be3 by Caleb Maclennan at 2024-03-16T00:56:49+03:00
upgpkg: 1:0.11.0-2
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,15 +1,18 @@
pkgbase = typst
pkgdesc = A markup-based typesetting system for the sciences
pkgver = 0.11.0
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://typst.app
arch = x86_64
- license = Apache
+ license = Apache-2.0
makedepends = cargo
makedepends = git
depends = gcc-libs
depends = glibc
+ depends = openssl
+ depends = libssl.so
+ depends = libcrypto.so
source =
https://github.com/typst/typst/archive/v0.11.0/typst-0.11.0.tar.gz
sha256sums =
fd8debe21d5d22d4cd6c823494537f1356c9954cc2fe6c5db8c76c1b126112dd
=====================================
PKGBUILD
=====================================
@@ -3,15 +3,16 @@
pkgname=typst
pkgver=0.11.0
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='A markup-based typesetting system for the sciences'
arch=(x86_64)
url="https://$pkgname.app"
_url="https://github.com/$pkgname/$pkgname"
-license=(Apache)
-depends=(gcc-libs
- glibc)
+license=(Apache-2.0)
+depends=(gcc-libs # libgcc_s.so
+ glibc # libc.so libm.so
+ openssl libssl.so libcrypto.so)
makedepends=(cargo
git)
_archive="$pkgname-$pkgver"
@@ -29,12 +30,13 @@ build() {
CFLAGS+=" -ffat-lto-objects"
export TYPST_VERSION="$pkgver (${hash::8})"
export GEN_ARTIFACTS=artifacts/
- cargo build -p typst-cli --frozen --release --all-features
+ export OPENSSL_NO_VENDOR=true
+ cargo build -p typst-cli --frozen --release
}
check() {
cd "$_archive"
- cargo test --workspace --frozen --all-features
+ cargo test --workspace --frozen
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/typst/-/commit/79d25be374b7e80bfeff9e517925cbcd472871f0
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/typst/-/commit/79d25be374b7e80bfeff9e517925cbcd472871f0
You're receiving this email because of your account on gitlab.archlinux.org.