[arch-commits] Commit in mathjax/repos/community-any (4 files)
Antonio Rojas
arojas at archlinux.org
Sun May 3 21:16:16 UTC 2015
Date: Sunday, May 3, 2015 @ 23:16:16
Author: arojas
Revision: 132668
archrelease: copy trunk to community-any
Added:
mathjax/repos/community-any/PKGBUILD
(from rev 132667, mathjax/trunk/PKGBUILD)
mathjax/repos/community-any/mathjax.install
(from rev 132667, mathjax/trunk/mathjax.install)
Deleted:
mathjax/repos/community-any/PKGBUILD
mathjax/repos/community-any/mathjax.install
-----------------+
PKGBUILD | 76 +++++++++++++++++++++++++++---------------------------
mathjax.install | 26 +++++++++---------
2 files changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-03 21:15:41 UTC (rev 132667)
+++ PKGBUILD 2015-05-03 21:16:16 UTC (rev 132668)
@@ -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.1
-pkgrel=3
-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=('e294ea66e87900a0a803281d6c13025db38d27e103f4d9e960bfc554ad92c602')
-
-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 132667, mathjax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-05-03 21:16:16 UTC (rev 132668)
@@ -0,0 +1,38 @@
+# $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
+}
Deleted: mathjax.install
===================================================================
--- mathjax.install 2015-05-03 21:15:41 UTC (rev 132667)
+++ mathjax.install 2015-05-03 21:16:16 UTC (rev 132668)
@@ -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 132667, mathjax/trunk/mathjax.install)
===================================================================
--- mathjax.install (rev 0)
+++ mathjax.install 2015-05-03 21:16:16 UTC (rev 132668)
@@ -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