Date: Wednesday, January 11, 2017 @ 23:18:26
  Author: arojas
Revision: 206867

archrelease: copy trunk to community-any

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

-----------------+
 PKGBUILD        |   69 ++++++++++++++++++++++++++----------------------------
 mathjax.install |   13 ----------
 2 files changed, 34 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2017-01-11 23:17:58 UTC (rev 206866)
+++ PKGBUILD    2017-01-11 23:18:26 UTC (rev 206867)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <[email protected]>
-# Contributor: Kevin Dodd <[email protected]>
-# Contributor: Tianjiao Yin <[email protected]>
-
-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
-}

Copied: mathjax/repos/community-any/PKGBUILD (from rev 206866, 
mathjax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2017-01-11 23:18:26 UTC (rev 206867)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Kevin Dodd <[email protected]>
+# Contributor: Tianjiao Yin <[email protected]>
+
+pkgname=mathjax
+pkgver=2.7.0
+pkgrel=2
+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=('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     2017-01-11 23:17:58 UTC (rev 206866)
+++ mathjax.install     2017-01-11 23:18:26 UTC (rev 206867)
@@ -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 "$@"
-}

Reply via email to