mathjax2

LOW
maintainer orphaned 0 votes scanned 2026-09-12 11:11:46.143552
View on AUR
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
5pkgname=mathjax2
6pkgver=2.7.9
7pkgrel=2
8pkgdesc='An open source JavaScript display engine for mathematics that works in all modern browsers'
9url='https://www.mathjax.org/'
10arch=(any)
11license=(Apache-2.0)
12makedepends=(git)
13source=(git+https://github.com/mathjax/MathJax#tag=$pkgver)
14sha256sums=('b6ef77c248f9b8b827da55f7520bf003048cd20b2ecc5fd83d8ee5b7d6c3046e')
15
16prepare() {
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
27package() {
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)SeverityRules
2026-09-12 11:11:46 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion