[arch-commits] Commit in qpdf/repos (testing-x86_64 testing-x86_64/PKGBUILD)

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


    Date: Saturday, January 19, 2019 @ 13:05:12
  Author: foutrelis
Revision: 344482

archrelease: copy trunk to testing-x86_64

Added:
  qpdf/repos/testing-x86_64/
  qpdf/repos/testing-x86_64/PKGBUILD
    (from rev 344481, qpdf/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: qpdf/repos/testing-x86_64/PKGBUILD (from rev 344481, qpdf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-01-19 13:05:12 UTC (rev 344482)
@@ -0,0 +1,51 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Miguel Revilla <yo at miguelrevilla.com>
+# Contributor: David Sotelo <dvsotelo at gmail.com>
+# Contributor: Nuno Araujo <nuno.araujo at russo79.com>
+
+pkgname=qpdf
+pkgver=8.3.0
+pkgrel=1
+pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
+arch=('x86_64')
+url="https://github.com/qpdf/qpdf"
+license=('custom:Artistic-2.0' 'Apache')
+depends=('libjpeg-turbo' 'zlib')
+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}
+        qpdf-issue276.patch::https://github.com/qpdf/qpdf/commit/4bc434000c42.patch)
+# sourceforge only offers sha1sums - see checksums at github
+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
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check # passes all
+}
+
+package() {
+  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