pdf-math-reader-bin
LOW
maintainer czyt
0 votes
scanned 2026-10-20 07:27:55.767015
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: czyt <czytcn@gmail.com>
2
pkgname=pdf-math-reader-bin
3
pkgver=0.1.13
4
pkgrel=2
5
pkgdesc="Read scientific documents in your language, in realtime, on any platform"
6
arch=('x86_64')
7
url="https://github.com/PDFMathTranslate/PDFMathReader"
8
license=('AGPL-3.0-only')
9
depends=(
10
'alsa-lib'
11
'avahi'
12
'dbus'
13
'gtk3'
14
'gnutls'
15
'mesa'
16
'nss'
17
'xdg-utils'
18
)
19
provides=('pdf-math-reader')
20
conflicts=('pdf-math-reader')
21
options=('!strip' '!debug' '!emptydirs')
22
source_x86_64=(
23
"PDFMathReader-linux-x64.tar.gz::https://github.com/PDFMathTranslate/PDFMathReader/releases/download/v${pkgver}/PDFMathReader-linux-x64.tar.gz"
24
"pdf-math-reader.png"
25
)
26
sha256sums_x86_64=('65a1a6a4263c9b4e90a6922c7de1b93951c5ad21f9fb22a1ea8af91650135474'
27
'710e0cde4e5a31a846f358ce702b68d84385c1282017bda83fc547e36726bb91')
28
29
package() {
30
local _dir="PDFMathReader-linux-x64"
31
32
# Electron runtime tree extracted verbatim
33
install -dm755 "${pkgdir}/usr/lib/pdf-math-reader"
34
cp -a "${srcdir}/${_dir}/." "${pkgdir}/usr/lib/pdf-math-reader/"
35
36
# Launcher
37
install -Dm755 /dev/stdin "${pkgdir}/usr/bin/pdf-math-reader" <<'EOF'
38
#!/bin/bash
39
exec /usr/lib/pdf-math-reader/PDFMathReader "$@"
40
EOF
41
42
# Desktop entry (upstream tar.gz ships none)
43
install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/pdf-math-reader.desktop" <<'EOF'
44
[Desktop Entry]
45
Type=Application
46
Name=PDFMathReader
47
Comment=Read scientific documents in your language, in realtime
48
Exec=pdf-math-reader %F
49
Icon=pdf-math-reader
50
Terminal=false
51
Categories=Office;Education;Science;
52
MimeType=application/pdf;
53
StartupWMClass=PDFMathReader
54
EOF
55
56
install -Dm644 "${srcdir}/pdf-math-reader.png" \
57
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/pdf-math-reader.png"
58
59
# Electron sandbox helper needs root ownership + setuid
60
chmod 4755 "${pkgdir}/usr/lib/pdf-math-reader/chrome-sandbox"
61
62
install -Dm644 "${srcdir}/${_dir}/LICENSE" \
63
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
64
}
65
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-20 07:27:55 | Low | 1 |