Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 585 Bytes
pkgname=python2-sphinx-hg
pkgver=20130930
pkgrel=1
pkgdesc="Python2 documentation generator"
arch=(i686 x86_64)
url="http://sphinx-doc.org/"
license=('BSD')
depends=('python2 python2-jinja')
provides=('python2-sphinx')
conflicts=('python2-sphinx')
makedepends=('python2-distribute')
source=("$pkgname"::"hg+https://bitbucket.org/birkenfeld/sphinx")
md5sums=('SKIP')
package() {
cd "$srcdir/$pkgname"
python2 setup.py install --root="$pkgdir/" --optimize=1
for f in sphinx-apidoc sphinx-autogen sphinx-build sphinx-quickstart; do
mv -v "${pkgdir}"/usr/bin/${f}{,2}
done
}