summaryrefslogtreecommitdiffstats
path: root/libraries/jbig2dec/jbig2dec.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2018-09-04 16:55:12 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-08 08:37:47 +0700
commit77adbf34084ee5f408a4b32b85d811695974fe67 (patch)
treefb5702aff14dcc88b931d35dd7d007e026c6e318 /libraries/jbig2dec/jbig2dec.SlackBuild
parentae47f4f2b1e11c35bf01df0b787888f03f6a3a53 (diff)
downloadslackbuilds-77adbf34084ee5f408a4b32b85d811695974fe67.tar.gz
slackbuilds-77adbf34084ee5f408a4b32b85d811695974fe67.tar.xz
libraries/jbig2dec: Updated for version 0.15.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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