# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-sphinx-theme-epfl _pkgname=epfl-sphinx-theme pkgver=1.1.1 pkgrel=2 pkgdesc="The EPFL Sphinx theme" url="http://kis-doc.epfl.ch/sphinx/" arch="noarch" license="GPL-3.0-only" depends="python3 py3-sphinx" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-sphinx-theme-epfl" # Backwards compatibility provides="py-sphinx-theme-epfl=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="af36469cbd33c5f8d1a4ebef201838a26dc52c04b1432b6cc49b46bfb74c585aad83da11cc9ebb675ad166573af41b00bed3e4ec770dcd60330599a732196ea0 epfl-sphinx-theme-1.1.1.tar.gz"