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

Christian Hesse eworm at archlinux.org
Thu May 16 13:21:43 UTC 2019


    Date: Thursday, May 16, 2019 @ 13:21:43
  Author: eworm
Revision: 467505

upgpkg: mupdf 1.15.0-1

new upstream release

Modified:
  mupdf/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-16 10:53:02 UTC (rev 467504)
+++ PKGBUILD	2019-05-16 13:21:43 UTC (rev 467505)
@@ -7,13 +7,13 @@
 
 pkgbase=mupdf
 pkgname=(libmupdf mupdf mupdf-gl mupdf-tools)
-pkgver=1.14.0
+pkgver=1.15.0
 pkgrel=1
 pkgdesc='Lightweight PDF and XPS viewer'
 arch=('x86_64')
 url='https://mupdf.com/'
 license=('AGPL3')
-makedepends=('curl' 'desktop-file-utils' 'freetype2' 'freeglut' 'glu' 'harfbuzz'
+makedepends=('desktop-file-utils' 'freetype2' 'freeglut' 'glu' 'harfbuzz'
              'jbig2dec' 'libjpeg' 'mesa-libgl' 'openjpeg2' 'libxext')
 # we need static libs for zathura-pdf-mupdf
 options=('staticlibs')
@@ -20,7 +20,7 @@
 source=("https://mupdf.com/downloads/archive/mupdf-${pkgver/_/}-source.tar.xz"
         'mupdf.desktop'
         'mupdf.xpm')
-sha256sums=('603e69a96b04cdf9b19a3e41bd7b20c63b39abdcfba81a7460fcdcc205f856df'
+sha256sums=('565036cf7f140139c3033f0934b72e1885ac7e881994b7919e15d7bee3f8ac4e'
             'ccff66979249bd4ab4ba8918660f194eb90eb0ae231b16e36a6cecdcf471883f'
             'a435f44425f5432c074dee745d8fbaeb879038ec1f1ec64f037c74662f09aca8')
 
@@ -27,11 +27,8 @@
 prepare() {
   cd $pkgbase-${pkgver/_/}-source
 
-  # fix linking curl
-  sed -i '/SYS_CURL_LIBS/s|$| -lpthread|' Makethird
-
   # remove bundled packages, we want our system libraries
-  rm -rf thirdparty/{curl,freeglut,freetype,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib}
+  rm -rf thirdparty/{freeglut,freetype,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib}
 }
 
 build() {
@@ -43,7 +40,7 @@
   export USE_SYSTEM_LIBS
 
   cd $pkgbase-${pkgver/_/}-source
-  make build=release libs apps extra
+  make build=release libs apps
 }
 
 package_libmupdf() {
@@ -62,12 +59,12 @@
 
 package_mupdf() {
   pkgdesc='Lightweight PDF and XPS viewer'
-  depends=('curl' 'desktop-file-utils' 'freetype2' 'harfbuzz' 'jbig2dec'
+  depends=('desktop-file-utils' 'freetype2' 'harfbuzz' 'jbig2dec'
            'libjpeg' 'openjpeg2' 'openssl' 'libxext')
 
   cd $pkgbase-${pkgver/_/}-source
 
-  install -D -m0755 build/release/mupdf-x11-curl "$pkgdir"/usr/bin/mupdf
+  install -D -m0755 build/release/mupdf-x11 "$pkgdir"/usr/bin/mupdf
 
   install -D -m0644 docs/man/mupdf.1 "$pkgdir"/usr/share/man/man1/mupdf.1
 
@@ -107,9 +104,7 @@
   cd $pkgbase-${pkgver/_/}-source
 
   install -D -m0755 build/release/mutool "$pkgdir"/usr/bin/mutool
-  install -D -m0755 build/release/mujstest "$pkgdir"/usr/bin/mujstest
   install -D -m0755 build/release/muraster "$pkgdir"/usr/bin/muraster
-  install -D -m0755 build/release/mjsgen "$pkgdir"/usr/bin/mjsgen
 
   install -D -m0644 docs/man/mutool.1 "$pkgdir"/usr/share/man/man1/mutool.1
 



More information about the arch-commits mailing list