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

Antonio Rojas arojas at archlinux.org
Sat Aug 24 20:15:25 UTC 2019


    Date: Saturday, August 24, 2019 @ 20:15:24
  Author: arojas
Revision: 501555

archrelease: copy trunk to community-any

Added:
  mathjax/repos/community-any/PKGBUILD
    (from rev 501554, mathjax/trunk/PKGBUILD)
Deleted:
  mathjax/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-24 20:15:08 UTC (rev 501554)
+++ PKGBUILD	2019-08-24 20:15:24 UTC (rev 501555)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Kevin Dodd <jesin00 at gmail.com>
-# Contributor: Tianjiao Yin <ytj000 at gmail.com>
-
-pkgname=mathjax
-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)
-depends=(xorg-mkfontdir fontconfig)
-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/mathjax}
-  cp -a MathJax-$pkgver "$pkgdir"/usr/share/mathjax
-  mv "$pkgdir"/usr/share/mathjax/fonts "$pkgdir"/usr/share/fonts/mathjax
-  ln -s /usr/share/fonts/mathjax "$pkgdir"/usr/share/mathjax/fonts
-  mv "$pkgdir"/usr/share/mathjax/LICENSE "$pkgdir"/usr/share/licenses/mathjax/LICENSE
-}

Copied: mathjax/repos/community-any/PKGBUILD (from rev 501554, mathjax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-24 20:15:24 UTC (rev 501555)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Kevin Dodd <jesin00 at gmail.com>
+# Contributor: Tianjiao Yin <ytj000 at gmail.com>
+
+pkgname=mathjax
+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)
+depends=(xorg-mkfontdir fontconfig)
+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/mathjax}
+  cp -a MathJax-$pkgver "$pkgdir"/usr/share/mathjax
+  mv "$pkgdir"/usr/share/mathjax/fonts "$pkgdir"/usr/share/fonts/mathjax
+  ln -s /usr/share/fonts/mathjax "$pkgdir"/usr/share/mathjax/fonts
+  mv "$pkgdir"/usr/share/mathjax/LICENSE "$pkgdir"/usr/share/licenses/mathjax/LICENSE
+}



More information about the arch-commits mailing list