# Automatically generated by apkbuild-cpan, template 3 # Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-html-formattext-withlinks-andtables #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=HTML-FormatText-WithLinks-AndTables pkgver=0.07 pkgrel=4 pkgdesc="Converts HTML to Text with tables intact" url="https://metacpan.org/release/HTML-FormatText-WithLinks-AndTables/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-html-formattext-withlinks perl-html-tree perl-html-formatter" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DA/DALEEVANS/HTML-FormatText-WithLinks-AndTables-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { 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 } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" 3deea4406f7f9dd55d22d60c169d3889be7ef802a43507fb8b608c45ecdff52f743c9cb3a4703f1e44cdcf033c4c64b4c993192fe1a39efc9eae78c6fb66ff3e HTML-FormatText-WithLinks-AndTables-0.07.tar.gz "