summaryrefslogtreecommitdiff
path: root/community/mupdf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mupdf/PKGBUILD')
-rw-r--r--community/mupdf/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/mupdf/PKGBUILD b/community/mupdf/PKGBUILD
index 8406480bb..a957e6b26 100644
--- a/community/mupdf/PKGBUILD
+++ b/community/mupdf/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 95919 2013-08-18 17:34:31Z bpiotrowski $
+# $Id: PKGBUILD 96166 2013-08-20 21:04:13Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
@@ -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 @@ package() {
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