summaryrefslogtreecommitdiff
path: root/libraries/jbig2dec/jbig2dec.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/jbig2dec/jbig2dec.SlackBuild')
-rw-r--r--libraries/jbig2dec/jbig2dec.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/libraries/jbig2dec/jbig2dec.SlackBuild b/libraries/jbig2dec/jbig2dec.SlackBuild
index 36feb70d9c..908836152d 100644
--- a/libraries/jbig2dec/jbig2dec.SlackBuild
+++ b/libraries/jbig2dec/jbig2dec.SlackBuild
@@ -10,6 +10,8 @@
# licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
+# 20180904 bkw: update for v0.15
+
# 20180623 bkw:
# - upstream moved again (to github). use github url for source.
# the innards of the tarball are slightly different: none of the
@@ -35,7 +37,7 @@
# - Added 'how to edit' stuff to slack-desc
PRGNAM=jbig2dec
-VERSION=${VERSION:-0.14}
+VERSION=${VERSION:-0.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,11 +77,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# 20180623 bkw: configure & friends are now absent, generate them.
./autogen.sh