[arch-commits] Commit in python2-pdfrw (3 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Tue Feb 5 23:11:54 UTC 2013
Date: Wednesday, February 6, 2013 @ 00:11:54
Author: arodseth
Revision: 83870
archrelease: copy trunk to community-any
Added:
python2-pdfrw/repos/
python2-pdfrw/repos/community-any/
python2-pdfrw/repos/community-any/PKGBUILD
(from rev 83869, python2-pdfrw/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python2-pdfrw/repos/community-any/PKGBUILD (from rev 83869, python2-pdfrw/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2013-02-05 23:11:54 UTC (rev 83870)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python2-pdfrw
+pkgver=0.1
+pkgrel=2
+pkgdesc='Basic PDF file manipulation library'
+arch=('any')
+url='https://code.google.com/p/pdfrw/'
+license=('MIT')
+depends=('python2')
+source=("https://pdfrw.googlecode.com/files/pdfrw_${pkgver}.zip")
+sha256sums=('4dbb4017b179f1ecee947501d178a90e1ff0aaf6444ef24b5a630ee68e884919')
+
+package() {
+ cd "$srcdir/pdfrw_${pkgver}"
+ sed -i '0,/on/s//on2/' pdfrw/pdfwriter.py
+ python2 setup.py install --root="$pkgdir"
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+
+# vim:ts=2:sw=2:et:
More information about the arch-commits
mailing list