25 lines
600 B
Plaintext
25 lines
600 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.78
|
|
release=1
|
|
source=(https://www.cpan.org/modules/by-module/HTML/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 {} \;
|
|
}
|