summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-Test-Trap/perl-Test-Trap.SlackBuild11
-rw-r--r--perl/perl-Test-Trap/perl-Test-Trap.info6
2 files changed, 9 insertions, 8 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
diff --git a/perl/perl-Test-Trap/perl-Test-Trap.info b/perl/perl-Test-Trap/perl-Test-Trap.info
index dfe2147131..3bc5d02418 100644
--- a/perl/perl-Test-Trap/perl-Test-Trap.info
+++ b/perl/perl-Test-Trap/perl-Test-Trap.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Test-Trap"
-VERSION="0.2.3.0_1"
+VERSION="0.2.4"
HOMEPAGE="http://search.cpan.org/dist/Test-Trap/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/EB/EBHANSSEN/Test-Trap-v0.2.3.0_1.tar.gz"
-MD5SUM="d58af2e1503ff0bb827c5dd150f48dc0"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/EB/EBHANSSEN/Test-Trap-v0.2.4.tar.gz"
+MD5SUM="c7c361af839703ff38046e740071261b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Test-Tester perl-data-dump"