diff options
Diffstat (limited to 'office/mupdf/mupdf.SlackBuild')
-rw-r--r-- | office/mupdf/mupdf.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild index 2e372e2de5..f69a5b8095 100644 --- a/office/mupdf/mupdf.SlackBuild +++ b/office/mupdf/mupdf.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=mupdf VERSION=${VERSION:-0.8.165} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -50,12 +50,12 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -verbose=no \ - make build=release prefix=$PKG/usr +sed -i "s,(prefix)/lib,(prefix)/lib$LIBDIRSUFFIX," Makefile + +CFLAGS="$SLKCFLAGS" make build=release prefix=/usr make build=release prefix=$PKG/usr install -#don't overwrite poppler's pdfinfo +# 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 \ @@ -63,15 +63,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/man mv $PKG/usr/share/man/man1 $PKG/usr/man/man1 -rm $PKG/usr/share/man -r +rm -rf $PKG/usr/share 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README COPYING \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |