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

Christian Hesse eworm at archlinux.org
Thu May 7 11:43:41 UTC 2015


    Date: Thursday, May 7, 2015 @ 13:43:41
  Author: eworm
Revision: 132875

upgpkg: mupdf 1.7_a-1

upstream bugfix release 1.7a

Modified:
  mupdf/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-07 11:39:39 UTC (rev 132874)
+++ PKGBUILD	2015-05-07 11:43:41 UTC (rev 132875)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 # Contributor: Brad Fanella <bradfanella at archlinux.us>
 # Contributor: Stefan Husmann <stefan-husmann at t-online.de>
 # Contributor: Pierre-Paul Paquin <pierrepaulpaquin at gmail.com>
@@ -6,7 +7,7 @@
 # Contributor: xduugu
 
 pkgname=mupdf
-pkgver=1.7
+pkgver=1.7_a
 pkgrel=1
 pkgdesc='Lightweight PDF and XPS viewer'
 arch=('i686' 'x86_64')
@@ -16,17 +17,17 @@
          'openssl' 'openjpeg2')
 install=mupdf.install
 options=('staticlibs')
-source=(http://mupdf.com/downloads/mupdf-$pkgver-source.tar.gz
+source=(http://mupdf.com/downloads/mupdf-${pkgver/_/}-source.tar.gz
         mupdf.desktop
         mupdf.xpm
         mupdf-1.5-openjpeg-2.1.0.patch)
-md5sums=('81d36f436a7065c81a501ed7ff4ee21e'
+md5sums=('c0a33f8c28cb0a1ac460f0fa59e78d29'
          '39b54f82a763aac54e352315a0ee9037'
          'f3f35e7320bafde331250de1c99186a1'
          '8e71587ad9b86e10c9144618ab43149b')
 
 prepare() {
-  cd $pkgname-$pkgver-source
+  cd $pkgname-${pkgver/_/}-source
   rm -rf thirdparty/{curl,freetype,jpeg,zlib,jbig2dec,openjpeg}
   patch -p1 -i ../mupdf-1.5-openjpeg-2.1.0.patch
 
@@ -37,12 +38,12 @@
   CFLAGS+=' -fPIC'
   CXXFLAGS+=' -fPIC'
 
-  cd $pkgname-$pkgver-source
+  cd $pkgname-${pkgver/_/}-source
   make build=release CURL_LIBS='-lcurl -lpthread'
 }
 
 package() {
-  cd $pkgname-$pkgver-source
+  cd $pkgname-${pkgver/_/}-source
   make build=release prefix="$pkgdir"/usr install
   install -Dm644 build/release/libmujs.a "$pkgdir"/usr/lib
 



More information about the arch-commits mailing list