blob: f9a6aa198959e4540711dfa07ad477b4be2dad1a (
plain)
1 # Description: Perl HTML parser class.
2 # URL: https://metacpan.org/release/HTML-Parser
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: p5-html-tagset
5
6 name=p5-html-parser
7 version=3.76
8 release=1
9 source=(https://www.cpan.org/modules/by-module/HTML/HTML-Parser-$version.tar.gz)
10
11 build() {
12 cd HTML-Parser-$version
13 perl Makefile.PL INSTALLDIRS=vendor
14 make OPTIMIZE="$CFLAGS"
15 make DESTDIR=$PKG install
16
17 find $PKG -type f \( \
18 -name '.packlist' -or \
19 -name '*.bs' -or \
20 -name 'autosplit.ix' -or \
21 -name 'perllocal.pod' \) -delete
22
23 find $PKG -depth -empty -exec rm -r {} \;
24 }
|