25 lines
606 B
Plaintext
25 lines
606 B
Plaintext
# Description: Perl HTML parser class.
|
|
# URL: https://metacpan.org/release/HTML-Parser
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: p5-html-tagset
|
|
|
|
name=p5-html-parser
|
|
version=3.72
|
|
release=3
|
|
source=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-$version.tar.gz)
|
|
|
|
build() {
|
|
cd HTML-Parser-$version
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make OPTIMIZE="$CFLAGS"
|
|
make DESTDIR=$PKG install
|
|
|
|
find $PKG -type f \( \
|
|
-name '.packlist' -or \
|
|
-name '*.bs' -or \
|
|
-name 'autosplit.ix' -or \
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
find $PKG -depth -empty -exec rm -r {} \;
|
|
}
|