summaryrefslogtreecommitdiff
path: root/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
diff options
context:
space:
mode:
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