updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / python-rst2pdf / PKGBUILD
blob68b8597d51503aad2fbd2cb62f2a345d0f4f15c6
1 # Contributor: Roberto Alsina <ralsina@kde.org>
2 pkgname=python-rst2pdf
3 pkgver=0.16
4 pkgrel=9
5 pkgdesc="Create PDFs from simple text markup, no LaTeX required."
6 arch=('i686' 'x86_64')
7 url="http://rst2pdf.googlecode.com"
8 license=('MIT')
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')
18 build() {
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')