# Maintainer: Johannes Löthberg # Maintainer: Daniel M. Capella # Contributor: eolianoe # Contributor: Romain Schmitz # ALARM: Kevin Mihelich # - makedepend on python2 for node module builds pkgname=python-sphinx_rtd_theme pkgver=0.5.0 pkgrel=1 pkgdesc='Read the Docs theme for Sphinx' arch=('any') url=https://github.com/readthedocs/sphinx_rtd_theme license=('MIT') depends=('python-setuptools' 'python-sphinx') makedepends=('npm' 'python2') source=("$url/archive/$pkgver/sphinx_rtd_theme-$pkgver.tar.gz") sha512sums=('e5d3f653649f10bcbb953fa18fe79f2b8663da205cc6c6d4ee702789b86de19ac525065b214e3e419e0a34feda35e54b3abd5e82b2a5e657821675125dc9dfdc') build() { cd sphinx_rtd_theme-$pkgver python setup.py build } package() { cd sphinx_rtd_theme-$pkgver python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE }