aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Test-Trap
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
parent05e996ba9e55c7dd9fd7ee484dab9018aa120d89 (diff)
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')
-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 1943c57f745fc..9241ee64bc1cd 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 dfe21471310c2..3bc5d02418ba6 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"