diff options
Diffstat (limited to 'office/mupdf/mupdf.SlackBuild')
-rw-r--r-- | office/mupdf/mupdf.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild index f69a5b8095..9321e92eca 100644 --- a/office/mupdf/mupdf.SlackBuild +++ b/office/mupdf/mupdf.SlackBuild @@ -5,8 +5,8 @@ # Written by Hubert Hesse (slackbuilds@hubertscorner.de) PRGNAM=mupdf -VERSION=${VERSION:-0.8.165} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -40,9 +40,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION-source tar xvf $CWD/$PRGNAM-$VERSION-source.tar.gz -cd $PRGNAM-$VERSION +cd $PRGNAM-$VERSION-source chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -51,13 +51,11 @@ 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 -# don't overwrite poppler's pdfinfo -mv $PKG/usr/bin/pdfinfo $PKG/usr/bin/pdfinfo-mupdf - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |