updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-sphinx-contrib / PKGBUILD
blob5075919294561e0d20a35208672dfe1bc421e1d2
1 # Maintainer: Tianjiao Yin <ytj000@gmail.com>
3 pkgname=python-sphinx-contrib
4 pkgver=983
5 pkgrel=1
6 pkgdesc="Contributed extensions for Sphinx (A python documentation generator)."
7 arch=("any")
8 url="https://bitbucket.org/birkenfeld/sphinx-contrib/"
9 license=('custom')
10 depends=("python2-sphinx")
11 provides=("sphinxcontrib-phpdomain")
12 conflicts=("sphinxcontrib-phpdomain")
14 _hgroot="https://bitbucket.org/birkenfeld"
15 _hgrepo="sphinx-contrib"
16 source=("setup.py")
18 _document_path="$pkgdir/usr/share/doc/python-sphinx-contrib"
20 build() {
21     rm -rf build
22     cp -rf "${_hgrepo}" build
23     cd build
24     hg checkout "${pkgver}"
27 package() {
28     mkdir -p "$_document_path"
29     python2 "$srcdir/setup.py" "$srcdir/build" "$pkgdir" "$_document_path"
31 md5sums=('45f1dad1c007ee17d1ce48d1c7063066')