summaryrefslogtreecommitdiff
path: root/community/mupdf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-21 02:15:21 -0700
committerroot <root@rshg054.dnsready.net>2013-08-21 02:15:21 -0700
commit62b00d5bf76ef2c670dbeefe2051629d96ab7660 (patch)
treef04db1df7254ec8354311c9024cfd53a90fc6a79 /community/mupdf
parent1ae31a85e191bbf7313077b472a66d1c24af1f74 (diff)
Wed Aug 21 02:13:52 PDT 2013
Diffstat (limited to 'community/mupdf')
-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