1 # Maintainer: Tianjiao Yin <ytj000@gmail.com>
3 pkgname=python-sphinx-contrib
6 pkgdesc="Contributed extensions for Sphinx (A python documentation generator)."
8 url="https://bitbucket.org/birkenfeld/sphinx-contrib/"
10 depends=("python2-sphinx")
11 provides=("sphinxcontrib-phpdomain")
12 conflicts=("sphinxcontrib-phpdomain")
14 _hgroot="https://bitbucket.org/birkenfeld"
15 _hgrepo="sphinx-contrib"
18 _document_path="$pkgdir/usr/share/doc/python-sphinx-contrib"
22 cp -rf "${_hgrepo}" build
24 hg checkout "${pkgver}"
28 mkdir -p "$_document_path"
29 python2 "$srcdir/setup.py" "$srcdir/build" "$pkgdir" "$_document_path"
31 md5sums=('45f1dad1c007ee17d1ce48d1c7063066')