diff options
-rw-r--r-- | main/perl-html-tree/APKBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/main/perl-html-tree/APKBUILD b/main/perl-html-tree/APKBUILD index c564a23e1..92c355e80 100644 --- a/main/perl-html-tree/APKBUILD +++ b/main/perl-html-tree/APKBUILD @@ -3,29 +3,31 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> 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" |