1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
4 pkgname=python-openstackdocstheme
6 _commit=20bf587d68f6c1794168f2ad467c9c55daf074e5
8 pkgdesc="Open Infrastructure Projects Sphinx Themes"
10 url="https://opendev.org/openstack/openstackdocstheme"
12 depends=('python-pbr' 'python-dulwich' 'python-sphinx')
13 makedepends=('git' 'python-setuptools')
14 options=('!emptydirs')
15 source=("git+https://github.com/openstack/openstackdocstheme.git#commit=$_commit")
21 PYTHONPATH="$PWD/build/lib" sphinx-build -W -b man doc/source doc/build/man
26 python setup.py install --root="$pkgdir" --optimize=1
27 install -Dm644 doc/build/man/*.1 -t "$pkgdir"/usr/share/man/man1/