aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-html-parser/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-html-parser/APKBUILD')
-rw-r--r--main/perl-html-parser/APKBUILD29
1 files changed, 13 insertions, 16 deletions
diff --git a/main/perl-html-parser/APKBUILD b/main/perl-html-parser/APKBUILD
index 482df16d55..97d8da7c56 100644
--- a/main/perl-html-parser/APKBUILD
+++ b/main/perl-html-parser/APKBUILD
@@ -1,32 +1,29 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-html-parser
-_pkgname=HTML-Parser
-pkgver=3.75
-pkgrel=1
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=HTML-Parser
+pkgver=3.76
+pkgrel=0
pkgdesc="HTML parser class"
url="https://metacpan.org/release/HTML-Parser/"
arch="all"
-license="Artistic-1.0-Perl or GPL-1.0-or-later"
-cpandepends="perl-html-tagset perl-http-message"
-depends="$cpandepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-html-tagset perl-http-message perl-uri"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/HTML-Parser-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-prepare() {
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-}
+source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTML-Parser-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
@@ -35,4 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="a694723c0e85dfa834f60b995032e1db25357b07f0f7e244cc765dfb3005e70176c9f018d1d1ff66592324678a791030f4002f995edcd3de9096bcd359c0ee6f HTML-Parser-3.75.tar.gz"
+sha512sums="50f9dc01997afdef33b58b48bfabd596b09cc11086773dcb4707086b7d7f54d2234d508e11a0b17e5d62849bf6acbc16aa8cd53080329ad3dacdbbe877c2c88b HTML-Parser-3.76.tar.gz"