summaryrefslogtreecommitdiff
path: root/office/mupdf/mupdf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/mupdf/mupdf.SlackBuild')
-rw-r--r--office/mupdf/mupdf.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild
index 9321e92eca..608b81cb1b 100644
--- a/office/mupdf/mupdf.SlackBuild
+++ b/office/mupdf/mupdf.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=mupdf
VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -35,7 +35,7 @@ else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -51,7 +51,6 @@ find . \
-exec chmod 644 {} \;
sed -i "s,(prefix)/lib,(prefix)/lib$LIBDIRSUFFIX," Makefile
-sed -i "s,openjpeg.h,openjpeg-1.5/openjpeg.h," fitz/image_jpx.c
CFLAGS="$SLKCFLAGS" make build=release prefix=/usr
make build=release prefix=$PKG/usr install