summaryrefslogtreecommitdiff
path: root/community/mupdf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mupdf/PKGBUILD')
-rw-r--r--community/mupdf/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/mupdf/PKGBUILD b/community/mupdf/PKGBUILD
index 4c2b0ee2d..b04d9c8b9 100644
--- a/community/mupdf/PKGBUILD
+++ b/community/mupdf/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 75333 2012-08-20 06:45:01Z bpiotrowski $
+# $Id: PKGBUILD 87740 2013-04-05 21:06:47Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
@@ -6,23 +6,24 @@
# Contributor: xduugu (.desktop and install files)
pkgname=mupdf
-pkgver=1.1
-pkgrel=1
-pkgdesc="lightweight PDF viewer and toolkit written in portable C"
+pkgver=1.2
+pkgrel=2
+pkgdesc='Lightweight PDF and XPS viewer'
arch=('i686' 'x86_64' 'mips64el')
-url="http://mupdf.com"
+url='http://mupdf.com'
license=('GPL3')
depends=('freetype2' 'libjpeg' 'jbig2dec' 'openjpeg' 'libxext' 'desktop-file-utils' 'xdg-utils')
install=mupdf.install
-source=("http://mupdf.com/download/$pkgname-$pkgver-source.tar.gz")
-md5sums=('f7b5fd753f40aca207e9afd70d8f8edf')
+source=(https://mupdf.googlecode.com/files/$pkgname-$pkgver-source.zip)
+sha256sums=('9bc9e31ec27c091dad37f70940bd799e46ab6da4299bc58e803bff3dbb07dc3b')
build() {
- CFLAGS+=" -fPIC"
- CXXFLAGS+=" -fPIC"
+ CFLAGS+=' -fPIC'
+ CXXFLAGS+=' -fPIC'
cd "$srcdir"/$pkgname-$pkgver-source
- make build=release prefix="$pkgdir"/usr
+ rm -rf thirdparty
+ make build=release prefix=/usr
}
package() {