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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Tue Aug 20 21:03:50 UTC 2013


    Date: Tuesday, August 20, 2013 @ 23:03:50
  Author: bpiotrowski
Revision: 96165

upgpkg: mupdf 1.3-3

- correct .desktop file (FS#36567)

Modified:
  mupdf/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-20 19:17:33 UTC (rev 96164)
+++ PKGBUILD	2013-08-20 21:03:50 UTC (rev 96165)
@@ -7,7 +7,7 @@
 
 pkgname=mupdf
 pkgver=1.3
-pkgrel=2
+pkgrel=3
 pkgdesc='Lightweight PDF and XPS viewer'
 arch=('i686' 'x86_64')
 url='http://mupdf.com'
@@ -33,8 +33,10 @@
   rm "$pkgdir"/usr/bin/mupdf-x11
 
   cd platform/debian
-  sed -i 's/mupdf.xpm/mupdf/' mupdf.desktop
-  sed -i 's/application\/x-pdf/application\/x-pdf/' mupdf.desktop
+  sed -i -e 's/mupdf.xpm/mupdf/' \
+         -e 's/application\/x-pdf/application\/x-pdf/' \
+         -e 's/mupdf-select-file/mupdf/' \
+            mupdf.desktop
   install -Dm644 mupdf.desktop "$pkgdir"/usr/share/applications/mupdf.desktop
   install -Dm644 mupdf.xpm "$pkgdir"/usr/share/pixmaps/mupdf.xpm
 




More information about the arch-commits mailing list