[arch-commits] Commit in qpdf/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Sat Aug 18 08:21:04 UTC 2018
Date: Saturday, August 18, 2018 @ 08:21:04
Author: andyrtr
Revision: 332220
archrelease: copy trunk to testing-x86_64
Added:
qpdf/repos/testing-x86_64/
qpdf/repos/testing-x86_64/PKGBUILD
(from rev 332219, qpdf/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: qpdf/repos/testing-x86_64/PKGBUILD (from rev 332219, qpdf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-08-18 08:21:04 UTC (rev 332220)
@@ -0,0 +1,41 @@
+# $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.2.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})
+# sourceforge only offers sha1sums - see checksums at github
+sha512sums=('0a73c771a6f63844a4f381d1ce0cdca679c47cb53c83c6b4bb35ebb22146e4bbf5c7e97fdf65b2946d7ee07be263e236a60a8a47f6f395797dfee81310cc00af'
+ '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