summaryrefslogtreecommitdiff
path: root/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-12 08:19:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-12 08:19:40 +0700
commitd2af94f407d336029efa6af664c50411ed77d4a8 (patch)
treeb4bd388ff933049beae95c766833564057fbbbd0 /perl/perl-Test-Harness/perl-Test-Harness.SlackBuild
parent7829cbfea50dde8c877057e0d5892c35c4780e35 (diff)
downloadslackbuilds-d2af94f407d336029efa6af664c50411ed77d4a8.tar.gz
perl/perl-Test-Harness: Updated for version 3.36.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Test-Harness/perl-Test-Harness.SlackBuild')
-rw-r--r--perl/perl-Test-Harness/perl-Test-Harness.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild b/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild
index e50b2ca1e6..1d46f23a41 100644
--- a/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild
+++ b/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-Test-Harness
-# Copyright 2013-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Test-Harness
-VERSION=${VERSION:-3.35}
+VERSION=${VERSION:-3.36}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,13 +85,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# preserve Env stuff and delete anything else conflicting with Slackware's Perl package
mkdir -p tmp/TAP/Harness tmp/man/man3
mv $PKG/usr/share/perl5/vendor_perl/TAP/Harness/Env.pm tmp/TAP/Harness
-mv $PKG/usr/man/man3/TAP::Harness::Env.3 tmp/man/man3
+rm -rf $PKG/usr/man/
rm -rf $PKG/usr/bin/prove $PKG/usr/share/man $PKG/usr/man $PKG/usr/share/perl5/vendor_perl/*
mv tmp/TAP $PKG/usr/share/perl5/vendor_perl/
-mv tmp/man $PKG/usr/
-
-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