[arch-commits] Commit in qpdf/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Tue Apr 7 09:32:22 UTC 2020
Date: Tuesday, April 7, 2020 @ 09:32:21
Author: andyrtr
Revision: 379737
archrelease: copy trunk to staging-x86_64
Added:
qpdf/repos/staging-x86_64/
qpdf/repos/staging-x86_64/PKGBUILD
(from rev 379736, qpdf/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: qpdf/repos/staging-x86_64/PKGBUILD (from rev 379736, qpdf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-04-07 09:32:21 UTC (rev 379737)
@@ -0,0 +1,48 @@
+# 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=10.0.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')
+# https://github.com/qpdf/qpdf/releases/download/release-qpdf-10.0.0/qpdf-10.0.0.sha512
+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})
+sha512sums=('9d07dddd139dc489f6ffefaee95bdbc430da3948b7ba5ac900e4b8dd027ab65805ba349e1e6d69068d1618d7d0d4f83d2952f6a637f3637613af764d4f26af23'
+ 'SKIP')
+validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb at ql.org>"
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --disable-static \
+ --enable-crypto-gnutls \
+ --disable-crypto-openssl \
+ --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}/
+}
More information about the arch-commits
mailing list