mathjax2
LOW
maintainer orphaned
0 votes
scanned 2026-09-12 11:11:46.143552
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: Antonio Rojas <arojas@archlinux.org>
2
# Contributor: Kevin Dodd <jesin00@gmail.com>
3
# Contributor: Tianjiao Yin <ytj000@gmail.com>
4
5
pkgname=mathjax2
6
pkgver=2.7.9
7
pkgrel=2
8
pkgdesc='An open source JavaScript display engine for mathematics that works in all modern browsers'
9
url='https://www.mathjax.org/'
10
arch=(any)
11
license=(Apache-2.0)
12
makedepends=(git)
13
source=(git+https://github.com/mathjax/MathJax#tag=$pkgver)
14
sha256sums=('b6ef77c248f9b8b827da55f7520bf003048cd20b2ecc5fd83d8ee5b7d6c3046e')
15
16
prepare() {
17
cd MathJax
18
19
# Remove unneeded stuff, see https://github.com/mathjax/MathJax-docs/wiki/Guide%3A-reducing-size-of-a-mathjax-installation
20
rm -r docs test unpacked
21
rm -r fonts/HTML-CSS/TeX/png
22
for _format in eot otf svg ; do
23
find . -type d -name "$_format" -prune -exec rm -rf {} \;
24
done
25
}
26
27
package() {
28
mkdir -p "$pkgdir"/usr/share/{fonts,licenses/mathjax2}
29
cp -a MathJax "$pkgdir"/usr/share/mathjax2
30
mv "$pkgdir"/usr/share/mathjax2/fonts "$pkgdir"/usr/share/fonts/mathjax2
31
ln -s /usr/share/fonts/mathjax2 "$pkgdir"/usr/share/mathjax2/fonts
32
mv "$pkgdir"/usr/share/mathjax2/LICENSE "$pkgdir"/usr/share/licenses/mathjax2/
33
rm -r "$pkgdir"/usr/share/mathjax2/.git
34
}
35
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-12 11:11:46 | Low | 1 |