1 # Contributor: Roberto Alsina <ralsina@kde.org>
5 pkgdesc="Create PDFs from simple text markup, no LaTeX required."
7 url="http://rst2pdf.googlecode.com"
9 depends=('python2' 'setuptools' 'docutils' 'python-reportlab')
10 source=(http://rst2pdf.googlecode.com/files/rst2pdf-$pkgver.tar.gz LICENSE.txt)
11 optdepends=('uniconvertor: vector images support'
12 'python-svglib: some SVG support'
13 'inkscape: best SVG support'
14 'python-wordaxe: hyphenation'
15 'python2-pygments: Syntax Highlighting'
16 'pil: non-JPEG bitmap image formats'
17 'pythonmagick: more image formats')
19 cd $startdir/src/rst2pdf-$pkgver
20 python2 setup.py install --root=$startdir/pkg || return 1
21 install -D ../LICENSE.txt $startdir/pkg/usr/share/licenses/python-rst2pdf/COPYING
22 (cd doc && rst2man rst2pdf.txt rst2pdf.1)
23 install -D doc/rst2pdf.1 $startdir/pkg/usr/share/man/man1/rst2pdf.1
24 gzip $startdir/pkg/usr/share/man/man1/rst2pdf.1
26 md5sums=('67b8bfac3ac55a85a09fc35ba98794d3'
27 '416f8046c66b9476cdbacda69a673afe')