Date: Saturday, December 15, 2018 @ 20:27:05 Author: arojas Revision: 416385
Add pdfarranger dependency Added: python-pypdf2/ python-pypdf2/trunk/ python-pypdf2/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Added: python-pypdf2/trunk/PKGBUILD =================================================================== --- python-pypdf2/trunk/PKGBUILD (rev 0) +++ python-pypdf2/trunk/PKGBUILD 2018-12-15 20:27:05 UTC (rev 416385) @@ -0,0 +1,25 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Francois Boulogne <fboulogne at april dot org> + +pkgname=python-pypdf2 +pkgver=1.26.0 +pkgrel=1 +pkgdesc='A utility to read and write PDFs with Python' +arch=(any) +url='http://mstamy2.github.com/PyPDF2' +license=(BSD) +depends=(python) +makedepends=(python-setuptools) +source=($pkgname-$pkgver.tar.gz::"https://github.com/mstamy2/PyPDF2/archive/$pkgver.tar.gz") +sha256sums=('140b1fed792f487f2fd814eb0e832a5b6ef5ae362da302c1fc5a9786d5acb469') + +build() { + cd PyPDF2-$pkgver + python setup.py build +} + +package(){ + cd PyPDF2-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}