aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-GD/perl-GD.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-01 03:13:18 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:22 +0700
commitf590592f2b34a0fa716106b063ac0af54e9c8df0 (patch)
treeff7f4fc7928253edb8b26412c3f91446a4ab5e68 /perl/perl-GD/perl-GD.SlackBuild
parent7fb5fcd6a7ee049fe615c0151f5fce6e5b0df304 (diff)
perl/perl-GD: Updated for version 2.71.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'perl/perl-GD/perl-GD.SlackBuild')
-rw-r--r--perl/perl-GD/perl-GD.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/perl/perl-GD/perl-GD.SlackBuild b/perl/perl-GD/perl-GD.SlackBuild
index 87e2c117dc8e..fc9e4ab83cce 100644
--- a/perl/perl-GD/perl-GD.SlackBuild
+++ b/perl/perl-GD/perl-GD.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191201 bkw: update for v2.71
# 20180829 bkw: update for v2.69
# 20180611 bkw: update for v2.68
# 20180228 bkw:
@@ -13,7 +14,7 @@
# - add FASTCGI option
PRGNAM=perl-GD
-VERSION=${VERSION:-2.69}
+VERSION=${VERSION:-2.71}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,11 +56,8 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$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 640 -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 {} \+
# You might notice this in the build log:
# ** WARNING: found gd.h header file in /usr/X11R6/include/gd.h