### this file is sourced not run
PKGVER=1.3b2
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=sphinx-doc-1.3b2.tar.gz
MD5SUM=fc4e2c1ac7be0d6d92a9c61f9275ae4c
SRC_URL=https://github.com/sphinx-doc/sphinx/archive/1.3b2.tar.gz
BUNDLE=

SLACKREQ='python python-babel python-snowballstemmer python-docutils
python-pygments python-jinja2 python-six' # build-time: python-setuptools
SLACKDESC='sphinx-doc: sphinx-doc 1.3b2 (Documentation generator)  
sphinx-doc:  
sphinx-doc: Sphinx is a tool that makes it easy to create intelligent and 
sphinx-doc: beautiful documentation. It uses RST (reStructuredText) as its 
sphinx-doc: source, and produces HTML, Latex, ePub, manual pages, etc. It can 
sphinx-doc: generate extensive cross-references and automatic indices, and 
sphinx-doc: supports various extensions.  
sphinx-doc: 
sphinx-doc: 
sphinx-doc: 
sphinx-doc: http://sphinx-doc.org/
'

### default pkg_download
### defaulg pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/sphinx*
	python setup.py build &&
	python setup.py install --optimize=1 &&
	cd doc && make html &&
	mkdir -p /usr/share/doc/sphinx-doc &&
	cp -a _build/html /usr/share/doc/sphinx-doc &&
	pkg_build_slackdesc
}


