~alpine/devel

testing/mupdf: update to 1.6 v1 PROPOSED

Isaac Dunham: 1
 testing/mupdf: update to 1.6

 2 files changed, 5 insertions(+), 24 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/864/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH] testing/mupdf: update to 1.6 Export this patch

---
 testing/mupdf/APKBUILD      | 10 +++++-----
 testing/mupdf/destdir.patch | 19 -------------------
 2 files changed, 5 insertions(+), 24 deletions(-)
 delete mode 100644 testing/mupdf/destdir.patch
diff --git a/testing/mupdf/APKBUILD b/testing/mupdf/APKBUILD
index 11b9099..2f22e4c 100644
--- a/testing/mupdf/APKBUILD
+++ b/testing/mupdf/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Michael Zhou <zhoumichaely@gmail.com>
pkgname=mupdf
pkgver=1.0
pkgver=1.6
pkgrel=0
pkgdesc="A lightweight PDF and XPS viewer"
url="http://mupdf.com"
@@ -11,8 +11,7 @@ makedepends="pkgconfig freetype-dev jpeg-dev jbig2dec-dev libx11-dev
		libxext-dev openjpeg-dev"
install=""
subpackages="$pkgname-doc"
source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver-source.tar.gz
		destdir.patch"
source="http://mupdf.com/downloads/$pkgname-$pkgver-source.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver-source"
prepare() {
@@ -36,5 +35,6 @@ package() {
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="d986ab98e2b035b7abd61afc474562b3  mupdf-1.0-source.tar.gz
50902883b1152b78bbd8223c6a1aa75e  destdir.patch"
md5sums="8d69db41ae9e0b6807b76bb6ed70dc2f  mupdf-1.6-source.tar.gz"
sha256sums="9813ee330950a641364181649ebd369c947adbcea9d41ed953ec5365640ea563  mupdf-1.6-source.tar.gz"
sha512sums="3a47d47b81550f531039153385fc22bb81a24df334706e23b7f118d08d97bb103566eef2a6ea3602ebe242fcb9d53304bb9d8230109572204491415a3a1b0645  mupdf-1.6-source.tar.gz"
diff --git a/testing/mupdf/destdir.patch b/testing/mupdf/destdir.patch
deleted file mode 100644
index b90083b..0000000
--- a/testing/mupdf/destdir.patch
@@ -1,19 +0,0 @@
--- mupdf-1.0-source/Makefile.orig
+++ mupdf-1.0-source/Makefile
@@ -168,11 +168,11 @@
 mandir ?= $(prefix)/share/man
 
 install: $(FITZ_LIB) $(MU_APPS) $(MUPDF)
-	install -d $(bindir) $(libdir) $(incdir) $(mandir)/man1
-	install $(FITZ_LIB) $(libdir)
-	install fitz/memento.h fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h $(incdir)
-	install $(MU_APPS) $(MUPDF) $(bindir)
-	install $(wildcard apps/man/*.1) $(mandir)/man1
+	install -d $(DESTDIR)/$(bindir) $(DESTDIR)/$(libdir) $(DESTDIR)/$(incdir) $(DESTDIR)/$(mandir)/man1
+	install $(FITZ_LIB) $(DESTDIR)/$(libdir)
+	install fitz/memento.h fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h $(DESTDIR)/$(incdir)
+	install $(MU_APPS) $(MUPDF) $(DESTDIR)/$(bindir)
+	install $(wildcard apps/man/*.1) $(DESTDIR)/$(mandir)/man1
 
 # --- Clean and Default ---
 
-- 
2.1.1



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---