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

Andreas Radke andyrtr at archlinux.org
Sat Jun 23 20:47:55 UTC 2018


    Date: Saturday, June 23, 2018 @ 20:47:55
  Author: andyrtr
Revision: 327508

archrelease: copy trunk to testing-x86_64

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

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

Copied: qpdf/repos/testing-x86_64/PKGBUILD (from rev 327507, qpdf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-06-23 20:47:55 UTC (rev 327508)
@@ -0,0 +1,39 @@
+# $Id$
+# 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.1.0
+pkgrel=1
+pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
+arch=('x86_64')
+url="https://qpdf.sourceforge.net/"
+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})
+sha1sums=('f819707c346b21d90194cf9cec95e370f2807f20'
+          'SKIP')
+validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb at ql.org>"
+
+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
+
+  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