summaryrefslogtreecommitdiff
path: root/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2014-04-13 09:56:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-13 09:56:07 +0700
commit5b69a1b1f99cc6cbe36d8259ffe62c331a522c3e (patch)
tree232292f01520987870d7552214b7f236f7d2fbae /perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
parent05e996ba9e55c7dd9fd7ee484dab9018aa120d89 (diff)
downloadslackbuilds-5b69a1b1f99cc6cbe36d8259ffe62c331a522c3e.tar.gz
perl/perl-Test-Trap: Updated for version 0.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Test-Trap/perl-Test-Trap.SlackBuild')
-rw-r--r--perl/perl-Test-Trap/perl-Test-Trap.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
index 1943c57f74..9241ee64bc 100644
--- a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
+++ b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
@@ -5,7 +5,7 @@
# Written by LEVAI Daniel <leva@ecentrum.hu>
PRGNAM=perl-Test-Trap
-VERSION=${VERSION:-0.2.3.0_1}
+VERSION=${VERSION:-0.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,10 +48,10 @@ tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz
cd $SRCNAM-v$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 {} \;
+ \( -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 {} \;
perl Build.PL \
prefix=/usr \
@@ -70,6 +70,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION