Browse Source

xap/mupdf: Upgraded to mupdf-1.9a.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent
commit
724570afa9
  1. 1
      xap/mupdf/mupdf-1.3-source.tar.gz.sha1
  2. 1
      xap/mupdf/mupdf-1.9a-source.tar.gz.sha1
  3. 16
      xap/mupdf/mupdf.SlackBuild

1
xap/mupdf/mupdf-1.3-source.tar.gz.sha1

@ -1 +0,0 @@
082325aceb5565b07b82c2b6cc52a97533e03cf9 mupdf-1.3-source.tar.gz

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

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

16
xap/mupdf/mupdf.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2013 Damien Goutte-Gattat
# Copyright (C) 2012,2013,2016 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.3}
VERSION=${VERSION:-1.9a}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-source.tar.gz}
WGET=${WGET:-http://mupdf.googlecode.com/files/$ARCHIVE}
WGET=${WGET:-http://mupdf.com/downloads/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-mupdf}
@ -85,7 +85,10 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
make prefix=/usr -j $JOBS
make install prefix=$PKG/usr libdir=$PKG/usr/lib$LIBDIRSUFFIX mandir=$PKG/usr/man
make install prefix=$PKG/usr \
libdir=$PKG/usr/lib$LIBDIRSUFFIX \
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 | \
@ -94,11 +97,6 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CHANGES CONTRIBUTORS COPYING README \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save