Created
October 14, 2018 15:58
-
-
Save simonpintarelli/41e8efdc46196feef1485afb2d8c817b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Francois Boulogne <fboulogne at april dot org> | |
# Maintainer: Francois Boulogne <fboulogne at april dot org> | |
pkgname=python-pypdf2 | |
pkgver=1.26.0 | |
pkgrel=1 | |
pkgdesc="PDF toolkit" | |
arch=('any') | |
url="http://mstamy2.github.com/PyPDF2" | |
license=('BSD') | |
depends=('python') | |
makedepends=('python-setuptools') | |
source=(https://pypi.python.org/packages/b4/01/68fcc0d43daf4c6bdbc6b33cc3f77bda531c86b174cac56ef0ffdb96faab/PyPDF2-$pkgver.tar.gz) | |
md5sums=('2301acc0ecbab0633d4c9b883d50ee5e') | |
sha256sums=('e28f902f2f0a1603ea95ebe21dff311ef09be3d0f0ef29a3e44a932729564385') | |
build() { | |
cd "$srcdir/PyPDF2-$pkgver" | |
python setup.py build | |
} | |
package(){ | |
cd "$srcdir/PyPDF2-$pkgver" | |
python setup.py install --root="${pkgdir}" --optimize=1 | |
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
} | |
# vim:ts=2:sw=2:et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment