1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
6 pkgdesc='JSmol viewer widget which can be used in Jupyter Notebooks and JupyterLab'
8 url='https://pypi.org/project/jupyter-jsmol/'
10 depends=(python-ipywidgets jupyter-notebook)
11 makedepends=(python-setuptools python-jupyter_packaging)
12 source=(https://pypi.python.org/packages/source/j/$pkgname/${pkgname/-/_}-$pkgver.tar.gz)
13 sha256sums=('6889b236dcd1eb69093ec1bc87ce352809c89a551214eada81186c2830c07c9a')
16 cd ${pkgname/-/_}-$pkgver
17 python setup.py install --root="$pkgdir" --optimize=1
18 mv "$pkgdir"/{usr/,}etc