[arch-commits] Commit in qpdf/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Sat Sep 16 19:56:13 UTC 2017


    Date: Saturday, September 16, 2017 @ 19:56:12
  Author: andyrtr
Revision: 305677

upgpkg: qpdf 7.0.0-1

upstream update 7.0.0

Modified:
  qpdf/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-16 19:53:48 UTC (rev 305676)
+++ PKGBUILD	2017-09-16 19:56:12 UTC (rev 305677)
@@ -5,36 +5,31 @@
 # Contributor: Nuno Araujo <nuno.araujo at russo79.com>
 
 pkgname=qpdf
-pkgver=7.0B1
-_pkgver=7.0.b1
+pkgver=7.0.0
 pkgrel=1
 pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
 arch=('i686' 'x86_64')
 url="https://qpdf.sourceforge.net/"
-license=('custom:Artistic-2.0')
-depends=('openjpeg2')
-#source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.gz)
-sha1sums=('431d6b37520587860e722b5eb2dc8e3cc0f079f6')
+license=('custom:Artistic-2.0' 'Apache')
+depends=('openjpeg2' 'perl')
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('506002271a7e04f431014baa94dd820c47235356')
 
 build() {
-#  cd ${pkgname}-${pkgver}
-  cd ${pkgname}-${_pkgver}
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --disable-static
   make
 }
 
 check() {
-#  cd ${pkgname}-${pkgver}
-  cd ${pkgname}-${_pkgver}
+  cd ${pkgname}-${pkgver}
   make check # passes all
 }
 
 package() {
-#  cd ${pkgname}-${pkgver}
-  cd ${pkgname}-${_pkgver}
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}/" install
 
   mkdir -m755 -p ${pkgdir}/usr/share/licenses/${pkgname}
-  install -m644 Artistic-2.0 ${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