aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-03-19 09:52:07 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:21 -0500
commit1c775917ed4c3cca1625204786ba277dc2e2385d (patch)
treefc526beb5101ad5c68c19a4fdb661dc6cdb0abdd /office
parentc12c28ded578096baaf9594e5799a3d42349fccc (diff)
office/mupdf: Fix permisson on headers and man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/mupdf/mupdf.SlackBuild6
1 files changed, 5 insertions, 1 deletions
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