From 1c775917ed4c3cca1625204786ba277dc2e2385d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 19 Mar 2014 09:52:07 +0700 Subject: office/mupdf: Fix permisson on headers and man pages. Signed-off-by: Willy Sudiarto Raharjo --- office/mupdf/mupdf.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'office/mupdf') diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild index f7e98c4bdb835..cbf900b1f17cd 100644 --- a/office/mupdf/mupdf.SlackBuild +++ b/office/mupdf/mupdf.SlackBuild @@ -31,9 +31,11 @@ # The security fix is needed now, it's a tiny patch, and shouldn't have # to wait on all that other stuff. +# 20140318 bkw: fix permissions on headers and man pages + PRGNAM=mupdf VERSION=${VERSION:-1.2} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -114,6 +116,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr 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 +chmod -x $PKG/usr/include/*.h $PKG/usr/man/man?/* + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README COPYING CHANGES CONTRIBUTORS doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3