Date: Sunday, November 17, 2019 @ 18:23:17
Author: andyrtr
Revision: 368996
archrelease: copy trunk to testing-x86_64
Added:
qpdf/repos/testing-x86_64/
qpdf/repos/testing-x86_64/PKGBUILD
(from rev 368995, qpdf/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: qpdf/repos/testing-x86_64/PKGBUILD (from rev 368995,
qpdf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-11-17 18:23:17 UTC (rev 368996)
@@ -0,0 +1,47 @@
+# Maintainer: AndyRTR <[email protected]>
+# Contributor: Miguel Revilla <yo at miguelrevilla.com>
+# Contributor: David Sotelo <dvsotelo at gmail.com>
+# Contributor: Nuno Araujo <[email protected]>
+
+pkgname=qpdf
+pkgver=9.1.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' 'gnutls')
+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=('7561ffc366dbce9df58cc85ff18480b28b0d46de04733ba463139188bee95690f92cf0960a328619f0c9f34ce865598db490fa1c6aaa76ee87d2c034a5f7f57e'
+ 'SKIP')
+validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt
<[email protected]>"
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --disable-static \
+ --enable-crypto-gnutls \
+ --disable-implicit-crypto \
+ --enable-show-failed-test-output
+ 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}/
+}