Date: Monday, April 2, 2018 @ 22:06:38 Author: arojas Revision: 313927
archrelease: copy trunk to community-any Added: mathjax/repos/community-any/PKGBUILD (from rev 313926, mathjax/trunk/PKGBUILD) Deleted: mathjax/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-02 22:06:11 UTC (rev 313926) +++ PKGBUILD 2018-04-02 22:06:38 UTC (rev 313927) @@ -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.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) -source=("$pkgname-$pkgver.tar.gz::https://github.com/mathjax/MathJax/archive/$pkgver.tar.gz") -sha256sums=('b4d91a1b5d40a87a95c6a173da8e07f649501a5b1edfc0c68f4226516acfda61') - -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 313926, mathjax/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-02 22:06:38 UTC (rev 313927) @@ -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.4 +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=('6d35d059630d8c47179a58162ba4b9e6e14f3b6f1cbdaf1ef6e00b433e0eede3') + +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 +}