commit fd2ce6b2f25e2ad384b2de8b401e3c87acb5dc92 Author: Thomas Weißschuh Date: Fri Dec 14 08:17:48 2012 +0000 add ipython-mathjax diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..15db94c6b2f3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ipython-mathjax + pkgdesc = mathjax files for usage in the ipython notebook + pkgver = 1 + pkgrel = 1 + url = http://ipython.org/ipython-doc/stable/install/install.html#mathjax + arch = any + license = WTFPL + depends = mathjax + optdepends = ipython: for use with ipython + optdepends = ipython2: for use with ipython2 + +pkgname = ipython-mathjax + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3dfc06fd5415 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Thomas Weißschuh + +pkgname=ipython-mathjax +pkgver=1 +pkgrel=1 +pkgdesc="mathjax files for usage in the ipython notebook" +url='http://ipython.org/ipython-doc/stable/install/install.html#mathjax' +arch=(any) +license=('WTFPL') +depends=('mathjax') +optdepends=('ipython: for use with ipython' + 'ipython2: for use with ipython2') + +package() { + install -d "${pkgdir}/usr/lib/python3.3/site-packages/IPython/frontend/html/notebook/static" + install -d "${pkgdir}/usr/lib/python2.7/site-packages/IPython/frontend/html/notebook/static" + + ln -s "/usr/share/mathjax" "${pkgdir}/usr/lib/python3.3/site-packages/IPython/frontend/html/notebook/static/mathjax" + ln -s "/usr/share/mathjax" "${pkgdir}/usr/lib/python2.7/site-packages/IPython/frontend/html/notebook/static/mathjax" +}