From 3de51cd0a62aafc8d7c640d94d3efbf2a3bdcdde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 26 Oct 2012 08:27:43 +0300 Subject: main/perl-html-tree: upgrade to 5.03 --- main/perl-html-tree/APKBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'main') diff --git a/main/perl-html-tree/APKBUILD b/main/perl-html-tree/APKBUILD index c564a23e1c..92c355e804 100644 --- a/main/perl-html-tree/APKBUILD +++ b/main/perl-html-tree/APKBUILD @@ -3,29 +3,31 @@ # Maintainer: Timo Teräs pkgname=perl-html-tree _pkgreal=HTML-Tree -pkgver=4.2 +pkgver=5.03 pkgrel=0 -pkgdesc="Class for objects that represent HTML elements" +pkgdesc="Work with HTML in a DOM-like tree structure" url="http://search.cpan.org/dist/HTML-Tree/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-html-tagset perl-html-parser" -cpanmakedepends="perl-html-tagset perl-test-exception perl-html-parser" +cpanmakedepends="perl-test-fatal" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/$_pkgreal-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` perl Build.PL installdirs=vendor || return 1 } build() { cd "$_builddir" - ./Build + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build && ./Build test } package() { @@ -34,4 +36,4 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="a145ad037ac54b6192c0046383d267da HTML-Tree-4.2.tar.gz" +md5sums="d9271d60b872ed6fbe68b2d0fe8c450e HTML-Tree-5.03.tar.gz" -- cgit v1.2.3