[arch-commits] Commit in mathjax/trunk (PKGBUILD mathjax.install)

Antonio Rojas arojas at archlinux.org
Wed Jan 11 23:17:59 UTC 2017


    Date: Wednesday, January 11, 2017 @ 23:17:58
  Author: arojas
Revision: 206866

Hooks

Modified:
  mathjax/trunk/PKGBUILD
Deleted:
  mathjax/trunk/mathjax.install

-----------------+
 PKGBUILD        |    3 +--
 mathjax.install |   13 -------------
 2 files changed, 1 insertion(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-11 22:57:22 UTC (rev 206865)
+++ PKGBUILD	2017-01-11 23:17:58 UTC (rev 206866)
@@ -5,13 +5,12 @@
 
 pkgname=mathjax
 pkgver=2.7.0
-pkgrel=1
+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)
-install=$pkgname.install
 source=("$pkgname-$pkgver.tar.gz::https://github.com/mathjax/MathJax/archive/$pkgver.tar.gz")
 sha256sums=('4944dd3995417c7692b64462698054760d38ff72175f66e2f2a007c5031d5927')
 

Deleted: mathjax.install
===================================================================
--- mathjax.install	2017-01-11 22:57:22 UTC (rev 206865)
+++ mathjax.install	2017-01-11 23:17:58 UTC (rev 206866)
@@ -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 "$@"
-}



More information about the arch-commits mailing list