# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=perl-html-tree #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=HTML-Tree pkgver=5.07 pkgrel=5 pkgdesc="Work with HTML in a DOM-like tree structure" url="https://metacpan.org/release/HTML-Tree/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-html-tagset perl-html-parser" makedepends="perl-dev perl-module-build" checkdepends="perl-uri perl-test-fatal perl-test-leaktrace" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/K/KE/KENTNL/HTML-Tree-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" a1faaf547d7db323388d5f6b289ab96887de5a80add55aefd380e4b540948514550a86785bdccf0776dfff38085b6bd3e98228f96231264217adcfc2f132c5de HTML-Tree-5.07.tar.gz "