summaryrefslogtreecommitdiff
path: root/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-08 22:00:30 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-11 10:53:28 -0600
commit1029520fa084bac0c66d9b7bb45ee6f1ce487d0a (patch)
treebc06cc6306fbdc04a459611bcd294a9749c0fb1b /perl/perl-Term-Animation/perl-Term-Animation.SlackBuild
parent071651ad427e36ff97beccdedc31fc26559c7bfb (diff)
downloadslackbuilds-1029520fa084bac0c66d9b7bb45ee6f1ce487d0a.tar.gz
perl/perl-Term-Animation: Updated for version 2.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-Term-Animation/perl-Term-Animation.SlackBuild')
-rw-r--r--perl/perl-Term-Animation/perl-Term-Animation.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild b/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild
index 9af3166599..d9ff253a00 100644
--- a/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild
+++ b/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild
@@ -6,16 +6,14 @@
SRCNAM=Term-Animation
PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-2.4}
+VERSION=${VERSION:-2.6}
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
@@ -48,11 +46,11 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $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 {} \;
perl Makefile.PL \
PREFIX=/usr \