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

Antonio Rojas arojas at archlinux.org
Fri Jan 1 22:58:46 UTC 2016


    Date: Friday, January 1, 2016 @ 23:58:45
  Author: arojas
Revision: 155159

archrelease: copy trunk to community-any

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

-----------------+
 PKGBUILD        |   73 +++++++++++++++++++++++++-----------------------------
 mathjax.install |   26 +++++++++----------
 2 files changed, 48 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-01 22:58:17 UTC (rev 155158)
+++ PKGBUILD	2016-01-01 22:58:45 UTC (rev 155159)
@@ -1,38 +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.5.3
-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)
-install=$pkgname.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/mathjax/MathJax/archive/$pkgver.tar.gz")
-sha256sums=('d24fcd6e66db4d79177513fbd25be9b75bff30f2a379199e8a05d5051fed5df3')
-
-prepare() {
-  cd MathJax-$pkgver
-
-# don't warn about missing PNG fonts
-  sed -e 's|imageFont: "TeX",|imageFont: null,|' -i config/default.js
-
-# 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 155158, mathjax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-01-01 22:58:45 UTC (rev 155159)
@@ -0,0 +1,35 @@
+# $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.6.0
+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)
+install=$pkgname.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mathjax/MathJax/archive/$pkgver.tar.gz")
+sha256sums=('1c2be5eeb6d423eaaa5fd162602ad482a2c3fb923844c94cca2e748ece267a68')
+
+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
+}

Deleted: mathjax.install
===================================================================
--- mathjax.install	2016-01-01 22:58:17 UTC (rev 155158)
+++ mathjax.install	2016-01-01 22:58:45 UTC (rev 155159)
@@ -1,13 +0,0 @@
-post_install() {
-	fc-cache -s
-	find /usr/share/fonts/mathjax -type d -name 'woff' -exec mkfontscale -- {} +
-	find /usr/share/fonts/mathjax -type d -name 'woff' -exec mkfontdir -- {} +
-}
-
-post_remove() {
-	post_install "$@"
-}
-
-post_upgrade() {
-	post_install "$@"
-}

Copied: mathjax/repos/community-any/mathjax.install (from rev 155158, mathjax/trunk/mathjax.install)
===================================================================
--- mathjax.install	                        (rev 0)
+++ mathjax.install	2016-01-01 22:58:45 UTC (rev 155159)
@@ -0,0 +1,13 @@
+post_install() {
+	fc-cache -s
+	find /usr/share/fonts/mathjax -type d -name 'woff' -exec mkfontscale -- {} +
+	find /usr/share/fonts/mathjax -type d -name 'woff' -exec mkfontdir -- {} +
+}
+
+post_remove() {
+	post_install "$@"
+}
+
+post_upgrade() {
+	post_install "$@"
+}



More information about the arch-commits mailing list