aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 20:06:52 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-09 01:34:35 -0600
commitf4e49d5e86fd96cee8050fbc104f75475f820fd1 (patch)
tree2426f1fa1727c963ba313f0a22c61c11f7267af2 /perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild
parent518b8975687a835a9f73ed0f61e80024b58c8d86 (diff)
perl/perl-Convert-TNEF: Updated for version 0.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild')
-rw-r--r--perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild
index db63c50f6651d..aed476d4b2ef8 100644
--- a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild
+++ b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild
@@ -28,16 +28,14 @@
SRCNAM=Convert-TNEF
PRGNAM=perl-Convert-TNEF
-VERSION=0.17
+VERSION=${VERSION:-0.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -71,11 +69,11 @@ cd $TMP
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $TMP/$SRCNAM-$VERSION
chown -R root.root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -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 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3