[arch-commits] Commit in mathjax2/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Sep 7 08:09:51 UTC 2019


    Date: Saturday, September 7, 2019 @ 08:09:50
  Author: arojas
Revision: 508362

archrelease: copy trunk to community-any

Added:
  mathjax2/repos/community-any/PKGBUILD
    (from rev 508361, mathjax2/trunk/PKGBUILD)
Deleted:
  mathjax2/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-07 08:09:27 UTC (rev 508361)
+++ PKGBUILD	2019-09-07 08:09:50 UTC (rev 508362)
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 362427 2018-07-19 17:42:59Z arojas $
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Kevin Dodd <jesin00 at gmail.com>
-# Contributor: Tianjiao Yin <ytj000 at gmail.com>
-
-pkgname=mathjax2
-pkgver=2.7.5
-pkgrel=1
-pkgdesc='An open source JavaScript display engine for mathematics that works in all modern browsers'
-url='https://www.mathjax.org/'
-arch=(any)
-license=(Apache)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/mathjax/MathJax/archive/$pkgver.tar.gz")
-sha256sums=('a25e5736553eef7b05ba00df133ad36d8f7b3b967f1e32d2f7505ac77427946f')
-
-prepare() {
-  cd MathJax-$pkgver
-
-# Remove unneeded stuff, see https://github.com/mathjax/MathJax-docs/wiki/Guide%3A-reducing-size-of-a-mathjax-installation
-  rm -r docs test unpacked
-  rm -r fonts/HTML-CSS/TeX/png
-  for _format in eot otf svg ; do
-   find . -type d -name "$_format" -prune -exec rm -rf {} \;
-  done
-}
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/{fonts,licenses/mathjax2}
-  cp -a MathJax-$pkgver "$pkgdir"/usr/share/mathjax2
-  mv "$pkgdir"/usr/share/mathjax2/fonts "$pkgdir"/usr/share/fonts/mathjax2
-  ln -s /usr/share/fonts/mathjax2 "$pkgdir"/usr/share/mathjax2/fonts
-  mv "$pkgdir"/usr/share/mathjax2/LICENSE "$pkgdir"/usr/share/licenses/mathjax2/
-}

Copied: mathjax2/repos/community-any/PKGBUILD (from rev 508361, mathjax2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-07 08:09:50 UTC (rev 508362)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 362427 2018-07-19 17:42:59Z arojas $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Kevin Dodd <jesin00 at gmail.com>
+# Contributor: Tianjiao Yin <ytj000 at gmail.com>
+
+pkgname=mathjax2
+pkgver=2.7.6
+pkgrel=1
+pkgdesc='An open source JavaScript display engine for mathematics that works in all modern browsers'
+url='https://www.mathjax.org/'
+arch=(any)
+license=(Apache)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mathjax/MathJax/archive/$pkgver.tar.gz")
+sha256sums=('51a529d3361aa5cb2e1d56a37b3ed9b08f061ddcc893084b3ecefbfa978895f5')
+
+prepare() {
+  cd MathJax-$pkgver
+
+# Remove unneeded stuff, see https://github.com/mathjax/MathJax-docs/wiki/Guide%3A-reducing-size-of-a-mathjax-installation
+  rm -r docs test unpacked
+  rm -r fonts/HTML-CSS/TeX/png
+  for _format in eot otf svg ; do
+   find . -type d -name "$_format" -prune -exec rm -rf {} \;
+  done
+}
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/{fonts,licenses/mathjax2}
+  cp -a MathJax-$pkgver "$pkgdir"/usr/share/mathjax2
+  mv "$pkgdir"/usr/share/mathjax2/fonts "$pkgdir"/usr/share/fonts/mathjax2
+  ln -s /usr/share/fonts/mathjax2 "$pkgdir"/usr/share/mathjax2/fonts
+  mv "$pkgdir"/usr/share/mathjax2/LICENSE "$pkgdir"/usr/share/licenses/mathjax2/
+}



More information about the arch-commits mailing list