summaryrefslogtreecommitdiff
path: root/pcr/mathjax/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-23 04:23:21 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-23 04:23:21 -0500
commita80d728857b2b4e955802610ecde7f9626a0b557 (patch)
tree9498e02dfe2b17148b0bad26cfae80647ca72d47 /pcr/mathjax/PKGBUILD
parent708b92338db046ebe4f1409b184ba2880e4d78f3 (diff)
parent5bee2612715ce1b1309c19f021e7e0639a622fb9 (diff)
downloadabslibre-a80d728857b2b4e955802610ecde7f9626a0b557.tar.gz
abslibre-a80d728857b2b4e955802610ecde7f9626a0b557.tar.bz2
abslibre-a80d728857b2b4e955802610ecde7f9626a0b557.zip
Merge branch 'master' of https://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'pcr/mathjax/PKGBUILD')
-rw-r--r--pcr/mathjax/PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/pcr/mathjax/PKGBUILD b/pcr/mathjax/PKGBUILD
index 779aa5a74..2bdc6ec67 100644
--- a/pcr/mathjax/PKGBUILD
+++ b/pcr/mathjax/PKGBUILD
@@ -1,19 +1,20 @@
-# Maintainer (Arch): Tianjiao Yin <ytj000@gmail.com>
-# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
-#taken from https://aur.archlinux.org/packages/mathjax/
+# Maintainer: Kevin Dodd <jesin00@gmail.com>
+# Contributor: Tianjiao Yin <ytj000@gmail.com>
pkgname=mathjax
-pkgver=2.2
+pkgver=2.3
pkgrel=2
pkgdesc='An open source JavaScript display engine for mathematics that works in all modern browsers'
url='http://www.mathjax.org/'
arch=('any')
-license=('apache')
-options=('!strip')
-source=('https://github.com/mathjax/MathJax/archive/v2.2.tar.gz')
+license=('Apache')
+options=(!strip libtool staticlibs)
+source=("https://github.com/mathjax/MathJax/archive/v${pkgver}.tar.gz")
+sha256sums=('0cd8f6de29b6c686550098119ab5301bdf60b03aeb8f9f2058e2832a0662687b')
-build() {
- mkdir -p $pkgdir/usr/share
- mv $srcdir/MathJax-* $pkgdir/usr/share/mathjax
+package() {
+ mkdir -p "$pkgdir/usr/share/fonts"
+ mv "$srcdir/MathJax-$pkgver" "$pkgdir/usr/share/mathjax"
+ ln -s '../mathjax/fonts' "$pkgdir/usr/share/fonts/mathjax"
}
-md5sums=('9e3ace5d926be939befb9bc79138a6f8')
+