texres
LOW
maintainer leoliu0
0 votes
scanned 2026-10-06 08:02:16.298752
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: Leo Liu <leoliu0@users.noreply.github.com>
2
pkgname=texres
3
pkgver=0.7.0
4
pkgrel=1
5
pkgdesc="Ultra-fast, pure-Rust TeX engine and typesetting toolchain (built from source)"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/leoliu0/texres"
8
license=(
9
'MIT'
10
'Apache-2.0'
11
'LPPL-1.3c'
12
'GPL-2.0-only'
13
'GPL-2.0-or-later'
14
'GPL-2.0-or-later WITH Font-exception-2.0'
15
'OFL-1.1'
16
'custom:GUST'
17
'custom:IPA'
18
'custom:Arphic'
19
'custom:Wadalab'
20
'custom:bundled-fonts'
21
)
22
depends=('glibc' 'gcc-libs')
23
makedepends=('cargo')
24
provides=('texres')
25
conflicts=('texres-bin' 'ratex' 'ratex-bin')
26
replaces=('ratex')
27
options=('!lto')
28
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/leoliu0/texres/archive/refs/tags/v${pkgver}.tar.gz")
29
sha256sums=('409217da635398634808f50b315e54b22833cc42da9a47c82318256da510c1f8')
30
31
build() {
32
cd "${pkgname}-${pkgver}"
33
cargo build --release --locked --bin texres
34
}
35
36
package() {
37
cd "${pkgname}-${pkgver}"
38
install -Dm755 target/release/texres "$pkgdir/usr/bin/texres"
39
local assets_dir="crates/tex-kpse/assets"
40
local font_doc="$pkgdir/usr/share/tex-suite/texmf/doc/fonts"
41
42
if [ ! -d "$assets_dir/legal" ] || \
43
[ ! -f "$assets_dir/legal/NOTICES-FONTS.txt" ] || \
44
[ ! -f "$assets_dir/sources.tar.zst" ] || \
45
[ ! -f "$assets_dir/packages.lock.json" ]; then
46
echo "Error: required font redistribution assets missing in $assets_dir" >&2
47
return 1
48
fi
49
50
install -d "$font_doc"
51
cp -a "$assets_dir/legal/"* "$font_doc/"
52
install -m644 "$assets_dir/sources.tar.zst" "$font_doc/sources.tar.zst"
53
install -m644 "$assets_dir/packages.lock.json" "$font_doc/packages.lock.json"
54
55
if [ -f LICENSE-MIT ]; then
56
install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
57
fi
58
if [ -f LICENSE-APACHE ]; then
59
install -Dm644 LICENSE-APACHE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
60
fi
61
install -Dm644 "$assets_dir/legal/NOTICES-FONTS.txt" "$pkgdir/usr/share/licenses/$pkgname/NOTICES-FONTS.txt"
62
}
63
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 08:02:16 | Low | 1 |
| 2026-10-06 00:13:36 | Clean | 2 |
| 2026-10-05 23:40:58 | Low | 1 |