summaryrefslogtreecommitdiff
path: root/perl/perl-HTML-Tree
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-07 18:08:02 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-09 01:34:42 -0600
commitb8044ddbbd042c125a9f60db05f127a65e2817d1 (patch)
tree3988ac03f01eb60b0878ccf587db83331807d12b /perl/perl-HTML-Tree
parent03e5fd53c252b20511f96d20b93c5ff7c35d964d (diff)
downloadslackbuilds-b8044ddbbd042c125a9f60db05f127a65e2817d1.tar.gz
perl/perl-HTML-Tree: Updated for version 5.03.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-HTML-Tree')
-rw-r--r--perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild19
-rw-r--r--perl/perl-HTML-Tree/perl-HTML-Tree.info8
-rw-r--r--perl/perl-HTML-Tree/slack-desc2
3 files changed, 15 insertions, 14 deletions
diff --git a/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild b/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild
index f72cd34744..5a20ed6b15 100644
--- a/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild
+++ b/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-HTML-Tree
-VERSION=${VERSION:-4.2}
+VERSION=${VERSION:-5.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,14 +74,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-perl Makefile.PL \
- PREFIX=/usr \
- INSTALLDIRS=vendor \
- INSTALLVENDORMAN1DIR=/usr/man/man1 \
- INSTALLVENDORMAN3DIR=/usr/man/man3
-make
-make test
-make install DESTDIR=$PKG
+perl Build.PL \
+ prefix=/usr \
+ installdirs=vendor \
+ destdir=$PKG
+./Build
+./Build test
+./Build install \
+ --install_path bindoc=/usr/man/man1 \
+ --install_path libdoc=/usr/man/man3
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/perl/perl-HTML-Tree/perl-HTML-Tree.info b/perl/perl-HTML-Tree/perl-HTML-Tree.info
index a463c07e87..53889a9747 100644
--- a/perl/perl-HTML-Tree/perl-HTML-Tree.info
+++ b/perl/perl-HTML-Tree/perl-HTML-Tree.info
@@ -1,8 +1,8 @@
PRGNAM="perl-HTML-Tree"
-VERSION="4.2"
-HOMEPAGE="http://search.cpan.org/~jfearn/HTML-Tree-4.2/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/HTML-Tree-4.2.tar.gz"
-MD5SUM="a145ad037ac54b6192c0046383d267da"
+VERSION="5.03"
+HOMEPAGE="http://search.cpan.org/~cjm/HTML-Tree-5.03/"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/HTML-Tree-5.03.tar.gz"
+MD5SUM="d9271d60b872ed6fbe68b2d0fe8c450e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Test-Exception perl-html-parser"
diff --git a/perl/perl-HTML-Tree/slack-desc b/perl/perl-HTML-Tree/slack-desc
index 547b45c561..3e5ab4f500 100644
--- a/perl/perl-HTML-Tree/slack-desc
+++ b/perl/perl-HTML-Tree/slack-desc
@@ -12,7 +12,7 @@ perl-HTML-Tree: HTML-Tree is a suite of Perl modules for making parse trees out
perl-HTML-Tree: HTML source. It consists of mainly two modules, whose documentation
perl-HTML-Tree: you should refer to: HTML::TreeBuilder and HTML::Element.
perl-HTML-Tree:
-perl-HTML-Tree: Homepage: http://search.cpan.org/~jfearn/HTML-Tree-4.2/
+perl-HTML-Tree: Homepage: http://search.cpan.org/~cjm/HTML-Tree-5.03/
perl-HTML-Tree:
perl-HTML-Tree:
perl-HTML-Tree: