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

Andreas Radke andyrtr at gemini.archlinux.org
Sat Feb 26 12:14:43 UTC 2022


    Date: Saturday, February 26, 2022 @ 12:14:43
  Author: andyrtr
Revision: 438158

upgpkg: qpdf 10.6.2-3: remove empty doc dir from main package and drop unneeded doc zip - FS#73962

Modified:
  qpdf/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-26 06:11:22 UTC (rev 438157)
+++ PKGBUILD	2022-02-26 12:14:43 UTC (rev 438158)
@@ -6,7 +6,7 @@
 pkgbase=qpdf
 pkgname=('qpdf' 'qpdf-docs')
 pkgver=10.6.2
-pkgrel=2
+pkgrel=3
 pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
 arch=('x86_64')
 url="https://github.com/qpdf/qpdf"
@@ -16,11 +16,9 @@
 #optdepends=('perl:	required for fix-qdf')
 #checkdepends=('perl')
 # https://github.com/qpdf/qpdf/releases/download/release-qpdf-10.6.1/qpdf-10.6.1.sha256
-source=(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}-doc.zip)
+source=(https://github.com/qpdf/qpdf/releases/download/release-${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
 sha256sums=('4b8c966300fcef32352f6576b7ef40167e080e43fe8954b12ef80b49a7e5307f'
-            'SKIP'
-            '560bba7d35fa54d77860b0abf744280cf7ac819cab6e05cf13b6096357cbd9f3')
+            'SKIP')
 validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb at ql.org>"
 
 # howto build the docs:
@@ -34,7 +32,7 @@
     --disable-crypto-openssl \
     --disable-implicit-crypto \
     --enable-show-failed-test-output \
-    --enable-doc-maintenance --enable-html-doc
+    --enable-doc-maintenance
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make doc-dist DOC_DEST=doc
 }
@@ -53,7 +51,7 @@
   install -Dm644 completions/bash/qpdf "${pkgdir}/usr/share/bash-completion/completions/qpdf"
   install -Dm644 completions/zsh/_qpdf "${pkgdir}/usr/share/zsh/site-functions/_qpdf"
 
-  rm -rf "${pkgdir}"/usr/share/doc/qpdf/README-doc.txt
+  rm -rf "${pkgdir}"/usr/share/doc
 
   mkdir -m755 -p "${pkgdir}"/usr/share/licenses/${pkgbase}
   install -m644 {Artistic-2.0,LICENSE.txt} "${pkgdir}"/usr/share/licenses/${pkgbase}/



More information about the arch-commits mailing list