mitex
LOW
maintainer friedev
1 votes
scanned 2026-09-26 17:15:25.581789
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Aaron Friesen <aaron@frie.dev>
2
# shellcheck shell=bash disable=SC2034,SC2154,SC2164
3
pkgname=mitex
4
pkgver=0.2.7
5
pkgrel=1
6
pkgdesc='LaTeX support for Typst, powered by Rust and WASM'
7
arch=(x86_64)
8
url="https://github.com/mitex-rs/mitex"
9
license=(Apache-2.0)
10
depends=(glibc libgcc)
11
makedepends=(cargo typst)
12
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
13
sha256sums=('6e63aa314adb8963a89c80bf891884d49ad4ae489a1979b5e1bb7b61a874cfd8')
14
15
prepare() {
16
cd "$pkgname-$pkgver"
17
export RUSTUP_TOOLCHAIN=stable
18
cargo fetch --target host-tuple
19
}
20
21
build() {
22
cd "$pkgname-$pkgver"
23
export RUSTUP_TOOLCHAIN=stable
24
export CARGO_TARGET_DIR=target
25
cargo build --frozen --release --package mitex-cli --features generate-spec
26
}
27
28
check() {
29
cd "$pkgname-$pkgver"
30
export RUSTUP_TOOLCHAIN=stable
31
cargo test --frozen --workspace --no-fail-fast
32
}
33
34
package() {
35
cd "$pkgname-$pkgver"
36
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
37
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
38
}
39
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-26 17:15:25 | Low | 1 |