diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-18 03:11:15 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-19 12:09:28 +0700 |
commit | 23ff635ce7381df4b27759e271d54a02864d092c (patch) | |
tree | b5200c71ca826ea3c74ea1e52060e1759d97cce6 /office/pdf2djvu | |
parent | e70f413f4730347e547b2afc2f52c8f120c2bdb5 (diff) | |
download | slackbuilds-23ff635ce7381df4b27759e271d54a02864d092c.tar.gz |
office/pdf2djvu: Updated for version 0.9.18.2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/pdf2djvu')
-rw-r--r-- | office/pdf2djvu/pdf2djvu.SlackBuild | 21 | ||||
-rw-r--r-- | office/pdf2djvu/pdf2djvu.info | 6 |
2 files changed, 13 insertions, 14 deletions
diff --git a/office/pdf2djvu/pdf2djvu.SlackBuild b/office/pdf2djvu/pdf2djvu.SlackBuild index a0b62a2cac..a65dc49939 100644 --- a/office/pdf2djvu/pdf2djvu.SlackBuild +++ b/office/pdf2djvu/pdf2djvu.SlackBuild @@ -23,10 +23,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220218 bkw: Modified by SlackBuilds.org: updated to v0.9.18.2 as +# the previous version wouldn't build on Slackware 15.0. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pdf2djvu -VERSION=${VERSION:-0.9.17.1} +VERSION=${VERSION:-0.9.18.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -76,12 +76,15 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ sed -i 's/poppler-splash/poppler/g' configure +# 20220218 bkw: no install-strip target, but this worx. +SLKCFLAGS+=" -Wl,-s" + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -99,11 +102,7 @@ make test make make install DESTDIR=$PKG -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 - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +gzip -9 $PKG/usr/man/{man1,??/man1}/*.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a doc/README doc/COPYING doc/changelog $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/office/pdf2djvu/pdf2djvu.info b/office/pdf2djvu/pdf2djvu.info index 950ac20572..cf9b49e3cc 100644 --- a/office/pdf2djvu/pdf2djvu.info +++ b/office/pdf2djvu/pdf2djvu.info @@ -1,8 +1,8 @@ PRGNAM="pdf2djvu" -VERSION="0.9.17.1" +VERSION="0.9.18.2" HOMEPAGE="https://jwilk.net/software/pdf2djvu" -DOWNLOAD="https://github.com/jwilk/pdf2djvu/releases/download/0.9.17.1/pdf2djvu-0.9.17.1.tar.xz" -MD5SUM="fd803adb96319b39e38392d6d5415142" +DOWNLOAD="https://github.com/jwilk/pdf2djvu/releases/download/0.9.18.2/pdf2djvu-0.9.18.2.tar.xz" +MD5SUM="2535eba8fb7f74d1ba8f942cd4fc0414" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="nose GraphicsMagick" |