mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
29 lines
803 B
Bash
29 lines
803 B
Bash
|
# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
|
||
|
# Contributor: William Rea <sillywilly@gmail.com>
|
||
|
|
||
|
pkgname=python-pypdf
|
||
|
pkgver=1.12
|
||
|
pkgrel=2
|
||
|
pkgdesc="A Pure-Python library built as a PDF toolkit"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://pybrary.net/pyPdf"
|
||
|
license=('BSD')
|
||
|
depends=('python')
|
||
|
conflicts=('pypdf')
|
||
|
provides=('pypdf')
|
||
|
source=(http://pybrary.net/pyPdf/pyPdf-$pkgver.tar.gz
|
||
|
license.txt
|
||
|
pypdf_hashlib_frozenset.patch)
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/pyPdf-${pkgver}
|
||
|
|
||
|
patch -p1 < ${srcdir}/pypdf_hashlib_frozenset.patch
|
||
|
python setup.py install --root=${pkgdir}
|
||
|
install -D -m644 ../license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
|
||
|
}
|
||
|
|
||
|
md5sums=('7be5f7f4659f64fd194e9eb9a38ad425'
|
||
|
'19b1b4bc0a9a8c4b7b2f5689a16cec2c'
|
||
|
'9917d811946216d6b86107382c36c2af')
|