summaryrefslogtreecommitdiff
path: root/community/mupdf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-19 01:35:50 -0700
committerroot <root@rshg054.dnsready.net>2013-08-19 01:35:50 -0700
commit26606f981048ee9efcda690b619d3c53501a7a58 (patch)
treebce53168e8c9b4bb94183682d91440e716d615a5 /community/mupdf
parentb35ab776341c79068977be153a2ad8340eb9498c (diff)
Mon Aug 19 01:34:37 PDT 2013
Diffstat (limited to 'community/mupdf')
-rw-r--r--community/mupdf/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/mupdf/PKGBUILD b/community/mupdf/PKGBUILD
index c20a92469..8406480bb 100644
--- a/community/mupdf/PKGBUILD
+++ b/community/mupdf/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 95688 2013-08-15 16:50:34Z bpiotrowski $
+# $Id: PKGBUILD 95919 2013-08-18 17:34:31Z 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=1
+pkgrel=2
pkgdesc='Lightweight PDF and XPS viewer'
arch=('i686' 'x86_64')
url='http://mupdf.com'
@@ -22,13 +22,16 @@ build() {
CXXFLAGS+=' -fPIC'
cd $pkgname-$pkgver-source
- make build=release
+ make build=release CURL_LIBS='-lcurl -lpthread'
}
package() {
cd $pkgname-$pkgver-source
make build=release prefix="$pkgdir"/usr install
+ mv "$pkgdir"/usr/bin/mupdf-x11-curl "$pkgdir"/usr/bin/mupdf
+ 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