Date: Tuesday, April 25, 2017 @ 19:00:20 Author: arojas Revision: 225330
archrelease: copy trunk to community-any Added: mathjax/repos/community-any/PKGBUILD (from rev 225329, mathjax/trunk/PKGBUILD) Deleted: mathjax/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-04-25 18:59:56 UTC (rev 225329) +++ PKGBUILD 2017-04-25 19:00:20 UTC (rev 225330) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Kevin Dodd <jesi...@gmail.com> -# Contributor: Tianjiao Yin <ytj...@gmail.com> - -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 -} Copied: mathjax/repos/community-any/PKGBUILD (from rev 225329, mathjax/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-04-25 19:00:20 UTC (rev 225330) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Kevin Dodd <jesi...@gmail.com> +# Contributor: Tianjiao Yin <ytj...@gmail.com> + +pkgname=mathjax +pkgver=2.7.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) +source=("$pkgname-$pkgver.tar.gz::https://github.com/mathjax/MathJax/archive/$pkgver.tar.gz") +sha256sums=('2bb4c0c6f326dd1964ecad1d302d2f9f4a3eb4364f89a30d5e3b4b3069597169') + +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 +}