mirror of
https://github.com/archlinux/aur.git
synced 2026-02-14 04:10:20 +01:00
20 lines
736 B
Bash
20 lines
736 B
Bash
# Maintainer: Thomas Weißschuh <thomas t-8ch de>
|
|
|
|
pkgname=ipython-mathjax
|
|
pkgver=3
|
|
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.4/site-packages/IPython/html/static"
|
|
install -d "${pkgdir}/usr/lib/python2.7/site-packages/IPython/html/static"
|
|
|
|
ln -s "/usr/share/mathjax" "${pkgdir}/usr/lib/python3.4/site-packages/IPython/html/static/mathjax"
|
|
ln -s "/usr/share/mathjax" "${pkgdir}/usr/lib/python2.7/site-packages/IPython/html/static/mathjax"
|
|
}
|