# Maintainer: Icaro Perseo pkgname=python-pdfrw pkgver=0.1 pkgrel=1rvm source=("https://pypi.python.org/packages/source/p/pdfrw/pdfrw-$pkgver.tar.gz") sourcetemplate="http://people.salixos.org/icaroperseo/14.1/l/$pkgname" docs=('LICENSE.txt' 'README.txt') url="https://code.google.com/p/pdfrw/" slackdesc=\ ( #|-----handy-ruler---------------------------------------------------| "python-pdfrw (Pure Python PDF file reader/writer library)" "python-pdfrw lets you read and write PDF files, including compositing" "multiple pages together (e.g. to do watermarking, or to copy an" "image or diagram from one PDF to another), and can output by itself," "or in conjunction with reportlab." ) build() { # Acceding to the working directory. cd $startdir/src/pdfrw-$pkgver # Building the package. python setup.py install \ --prefix=/usr \ --root=$startdir/pkg/ }