mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/qpdf to 10.5.0-1
This commit is contained in:
parent
edd6fc2130
commit
121795b5e3
1 changed files with 10 additions and 5 deletions
|
@ -7,19 +7,20 @@
|
||||||
# - explicitly link v5/v6 with libatomic
|
# - explicitly link v5/v6 with libatomic
|
||||||
|
|
||||||
pkgname=qpdf
|
pkgname=qpdf
|
||||||
pkgver=10.4.0
|
pkgver=10.5.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
|
pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/qpdf/qpdf"
|
url="https://github.com/qpdf/qpdf"
|
||||||
license=('custom:Artistic-2.0' 'Apache')
|
license=('custom:Artistic-2.0' 'Apache')
|
||||||
depends=('libjpeg-turbo' 'zlib' 'gnutls')
|
depends=('libjpeg-turbo' 'zlib' 'gnutls')
|
||||||
|
makedepends=('texlive-bin' 'texlive-core' 'python-sphinx' 'python-sphinx_rtd_theme' 'texlive-latexextra')
|
||||||
#optdepends=('perl: required for fix-qdf')
|
#optdepends=('perl: required for fix-qdf')
|
||||||
#checkdepends=('perl')
|
#checkdepends=('perl')
|
||||||
# https://github.com/qpdf/qpdf/releases/download/release-qpdf-10.4.0/qpdf-10.4.0.sha256
|
# https://github.com/qpdf/qpdf/releases/download/release-qpdf-10.5.0/qpdf-10.5.0.sha256
|
||||||
source=(#https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
|
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})
|
https://github.com/qpdf/qpdf/releases/download/release-${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
|
||||||
sha256sums=('9ac6e691cc3f35a9fe44632e3fba727e1b6ef21181c0a883287abf5cf97ae222'
|
sha256sums=('88257d36a44fd5c50b2879488324dd9cafc11686ae49d8c4922a4872203ce006'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb@ql.org>"
|
validpgpkeys=('C2C96B10011FE009E6D1DF828A75D10998012C7E') # "Jay Berkenbilt <ejb@ql.org>"
|
||||||
|
|
||||||
|
@ -31,7 +32,8 @@ build() {
|
||||||
--enable-crypto-gnutls \
|
--enable-crypto-gnutls \
|
||||||
--disable-crypto-openssl \
|
--disable-crypto-openssl \
|
||||||
--disable-implicit-crypto \
|
--disable-implicit-crypto \
|
||||||
--enable-show-failed-test-output
|
--enable-show-failed-test-output \
|
||||||
|
--enable-doc-maintenance --enable-html-doc
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
@ -43,11 +45,14 @@ check() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd ${pkgname}-${pkgver}
|
||||||
make DESTDIR="${pkgdir}/" install
|
make doc-dist DESTDIR="${pkgdir}/" DOC_DEST="${pkgdir}"/usr/share/doc/qpdf install
|
||||||
|
install -Dm644 doc/singlehtml/index.html "${pkgdir}"/usr/share/doc/qpdf/qpdf-manual.html
|
||||||
|
|
||||||
install -Dm644 completions/bash/qpdf "${pkgdir}/usr/share/bash-completion/completions/qpdf"
|
install -Dm644 completions/bash/qpdf "${pkgdir}/usr/share/bash-completion/completions/qpdf"
|
||||||
install -Dm644 completions/zsh/_qpdf "${pkgdir}/usr/share/zsh/site-functions/_qpdf"
|
install -Dm644 completions/zsh/_qpdf "${pkgdir}/usr/share/zsh/site-functions/_qpdf"
|
||||||
|
|
||||||
|
rm -rf "${pkgdir}"/usr/share/doc/qpdf/README-doc.txt
|
||||||
|
|
||||||
mkdir -m755 -p "${pkgdir}"/usr/share/licenses/${pkgname}
|
mkdir -m755 -p "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||||
install -m644 {Artistic-2.0,LICENSE.txt} "${pkgdir}"/usr/share/licenses/${pkgname}/
|
install -m644 {Artistic-2.0,LICENSE.txt} "${pkgdir}"/usr/share/licenses/${pkgname}/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue