Browse Source

xap/mupdf: Upgraded to mupdf-1.11.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
bd8c804b0b
  1. 1
      xap/mupdf/mupdf-1.11-source.tar.gz.sha256
  2. 1
      xap/mupdf/mupdf-1.9a-source.tar.gz.sha1
  3. 12
      xap/mupdf/mupdf.SlackBuild

1
xap/mupdf/mupdf-1.11-source.tar.gz.sha256

@ -0,0 +1 @@
209474a80c56a035ce3f4958a63373a96fad75c927c7b1acdc553fc85855f00a mupdf-1.11-source.tar.gz

1
xap/mupdf/mupdf-1.9a-source.tar.gz.sha1

@ -1 +0,0 @@
f2b3c21e5060d6ec56ea0d0c32b0feac7eac0e5f mupdf-1.9a-source.tar.gz

12
xap/mupdf/mupdf.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2013,2016 Damien Goutte-Gattat
# Copyright (C) 2012,2013,2016,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,9 +26,9 @@
# Source package infos
NAMESRC=${NAMESRC:-mupdf}
VERSION=${VERSION:-1.9a}
VERSION=${VERSION:-1.11}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-source.tar.gz}
WGET=${WGET:-http://mupdf.com/downloads/$ARCHIVE}
WGET=${WGET:-https://mupdf.com/downloads/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-mupdf}
@ -75,7 +75,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$NAMEPKG-$VERSION-source
# Compile
@ -90,10 +90,6 @@ make install prefix=$PKG/usr \
mandir=$PKG/usr/man \
docdir=$PKG/usr/doc/$NAME
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;

Loading…
Cancel
Save