[arch-commits] Commit in qpdf/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat Jan 19 13:05:08 UTC 2019


    Date: Saturday, January 19, 2019 @ 13:05:07
  Author: foutrelis
Revision: 344481

upgpkg: qpdf 8.3.0-1

New upstream release.

Modified:
  qpdf/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-19 12:30:34 UTC (rev 344480)
+++ PKGBUILD	2019-01-19 13:05:07 UTC (rev 344481)
@@ -4,7 +4,7 @@
 # Contributor: Nuno Araujo <nuno.araujo at russo79.com>
 
 pkgname=qpdf
-pkgver=8.2.1
+pkgver=8.3.0
 pkgrel=1
 pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
 arch=('x86_64')
@@ -14,12 +14,20 @@
 optdepends=('perl:	required for fix-qdf')
 checkdepends=('perl')
 source=(#https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
-        https://github.com/qpdf/qpdf/releases/download/release-${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
+        https://github.com/qpdf/qpdf/releases/download/release-${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc}
+        qpdf-issue276.patch::https://github.com/qpdf/qpdf/commit/4bc434000c42.patch)
 # sourceforge only offers sha1sums - see checksums at github
-sha512sums=('ef3aeb4a7ca3ec48ab62341533eedcb2a6d0985767317ab72c22f0c0ecfef6849bfdc34b1bcec6427c7bde166143adb409c895ff40d8be6628e6323e27697a8c'
-            'SKIP')
+sha512sums=('9982a489cc6b9c880adc7decb18f1941930a86f430a00505f230364fbadf83c5afd832a1ccf7966a9453cdbb40b7c60db438f7b27d836a242eefb07a77d7284d'
+            'SKIP'
+            'bb97a6ed3f590c50753c35fba6fbe4459213939958925a8510ed982826d963521716db6b468008da07afcf524bbb46e3c6c45438af422732e900075183f53e2f')
 validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb at ql.org>"
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  # https://github.com/qpdf/qpdf/issues/276
+  patch -Np1 -i ../qpdf-issue276.patch
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --disable-static
@@ -35,6 +43,9 @@
   cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}/" install
 
+  install -Dm644 completions/bash/qpdf "${pkgdir}/usr/share/bash-completion/completions/qpdf"
+  install -Dm644 completions/zsh/_qpdf "${pkgdir}/usr/share/zsh/site-functions/_qpdf"
+
   mkdir -m755 -p ${pkgdir}/usr/share/licenses/${pkgname}
   install -m644 {Artistic-2.0,LICENSE.txt} ${pkgdir}/usr/share/licenses/${pkgname}/
 }


More information about the arch-commits mailing list