[arch-commits] Commit in mathjax/repos/community-any (4 files)
Antonio Rojas
arojas at archlinux.org
Fri Oct 14 14:22:27 UTC 2016
Date: Friday, October 14, 2016 @ 14:22:27
Author: arojas
Revision: 192272
archrelease: copy trunk to community-any
Added:
mathjax/repos/community-any/PKGBUILD
(from rev 192271, mathjax/trunk/PKGBUILD)
mathjax/repos/community-any/mathjax.install
(from rev 192271, mathjax/trunk/mathjax.install)
Deleted:
mathjax/repos/community-any/PKGBUILD
mathjax/repos/community-any/mathjax.install
-----------------+
PKGBUILD | 70 +++++++++++++++++++++++++++---------------------------
mathjax.install | 26 ++++++++++----------
2 files changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-14 14:22:01 UTC (rev 192271)
+++ PKGBUILD 2016-10-14 14:22:27 UTC (rev 192272)
@@ -1,35 +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.6.1
-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=('c746945d87a4e93ee801a44b6209986bfc901cb2f6c505628a2ed5793422fbb8')
-
-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 192271, mathjax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-14 14:22:27 UTC (rev 192272)
@@ -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.7.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=('4944dd3995417c7692b64462698054760d38ff72175f66e2f2a007c5031d5927')
+
+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-10-14 14:22:01 UTC (rev 192271)
+++ mathjax.install 2016-10-14 14:22:27 UTC (rev 192272)
@@ -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 192271, mathjax/trunk/mathjax.install)
===================================================================
--- mathjax.install (rev 0)
+++ mathjax.install 2016-10-14 14:22:27 UTC (rev 192272)
@@ -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