Date: Wednesday, January 17, 2018 @ 13:18:32
  Author: andyrtr
Revision: 315006

archrelease: copy trunk to testing-x86_64

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

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

Copied: qpdf/repos/testing-x86_64/PKGBUILD (from rev 315005, 
qpdf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-01-17 13:18:32 UTC (rev 315006)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: AndyRTR <andy...@archlinux.org>
+# Contributor: Miguel Revilla <yo at miguelrevilla.com>
+# Contributor: David Sotelo <dvsotelo at gmail.com>
+# Contributor: Nuno Araujo <nuno.ara...@russo79.com>
+
+pkgname=qpdf
+pkgver=7.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)
+sha1sums=('c5b95eeed5cb3bb70e9c365e1ed5aeef578a4496')
+
+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}/
+}

Reply via email to