[arch-commits] Commit in (7 files)
Antonio Rojas
arojas at archlinux.org
Fri Nov 3 22:57:30 UTC 2017
Date: Friday, November 3, 2017 @ 22:57:29
Author: arojas
Revision: 265378
Add pdfshuffler (229 votes)
Added:
pdfshuffler/
pdfshuffler/trunk/
pdfshuffler/trunk/PKGBUILD
pypdf/
pypdf/trunk/
pypdf/trunk/LICENSE
pypdf/trunk/PKGBUILD
----------------------------+
pdfshuffler/trunk/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
pypdf/trunk/LICENSE | 26 ++++++++++++++++++++++++++
pypdf/trunk/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
3 files changed, 93 insertions(+)
Added: pdfshuffler/trunk/PKGBUILD
===================================================================
--- pdfshuffler/trunk/PKGBUILD (rev 0)
+++ pdfshuffler/trunk/PKGBUILD 2017-11-03 22:57:29 UTC (rev 265378)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: M.Reynolds <blackboxnetworkproject at gmail.com>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Tuan Nguyen
+# Contributor: Farid <farid at archlinux-br dot org>
+
+pkgname=pdfshuffler
+pkgver=0.6.0
+pkgrel=4
+pkgdesc="Merge or split pdf documents and rotate, crop and rearrange their pages"
+arch=(any)
+url="http://sourceforge.net/projects/pdfshuffler/"
+license=(GPL3)
+depends=(python2-poppler python2-pypdf ghostscript)
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('df3629b5a0ba91fda6b703ddf7b3e6f224a01d5cdfb76a5de77d67615466ef58')
+
+prepare() {
+# python2 fix
+ find $pkgname-$pkgver -name "*.py" -exec \
+ sed -i "s/python/&2/" {} \;
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python2 setup.py install --root="$pkgdir"
+}
Added: pypdf/trunk/LICENSE
===================================================================
--- pypdf/trunk/LICENSE (rev 0)
+++ pypdf/trunk/LICENSE 2017-11-03 22:57:29 UTC (rev 265378)
@@ -0,0 +1,26 @@
+# Copyright (c) 2006, Mathieu Fenniak
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+# * The name of the author may not be used to endorse or promote products
+# derived from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
Added: pypdf/trunk/PKGBUILD
===================================================================
--- pypdf/trunk/PKGBUILD (rev 0)
+++ pypdf/trunk/PKGBUILD 2017-11-03 22:57:29 UTC (rev 265378)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgbase=pypdf
+pkgname=(python-pypdf python2-pypdf)
+pkgver=1.13
+pkgrel=4
+pkgdesc='A Pure-Python library built as a PDF toolkit'
+arch=(any)
+url="http://pybrary.net/pyPdf"
+license=(BSD)
+makedepends=(python-setuptools python2-setuptools)
+source=(https://pypi.io/packages/source/p/pyPdf/pyPdf-$pkgver.tar.gz LICENSE)
+sha256sums=('3aede4c3c9c6ad07c98f059f90db0b09ed383f7c791c46100f649e1cabda0e3b'
+ '50ba5f73d8981222fe56ea3295bfa7e1cc51476f1044a1233d6c3500c741f786')
+
+package_python-pypdf() {
+ depends=(python)
+
+ cd pyPdf-$pkgver
+ python setup.py install --root="$pkgdir"
+ install -D -m644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+package_python2-pypdf() {
+ depends=(python2)
+
+ cd pyPdf-$pkgver
+ python2 setup.py install --root="$pkgdir"
+ install -D -m644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
More information about the arch-commits
mailing list