Date: Friday, March 18, 2022 @ 20:12:32 Author: felixonmars Revision: 439966
archrelease: copy trunk to community-x86_64 Added: perl-html-parser/repos/community-x86_64/ perl-html-parser/repos/community-x86_64/PKGBUILD (from rev 439965, perl-html-parser/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: perl-html-parser/repos/community-x86_64/PKGBUILD (from rev 439965, perl-html-parser/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2022-03-18 20:12:32 UTC (rev 439966) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: kevin <ke...@archlinux.org> +# Contributor: Manolis Tzanidakis +# Contributor: Firmicus <francois.archlinux.org> + +pkgname=perl-html-parser +pkgver=3.77 +pkgrel=1 +pkgdesc="Perl HTML parser class" +arch=('x86_64') +license=('PerlArtistic') +url="https://search.cpan.org/dist/HTML-Parser/" +depends=('perl-html-tagset' 'perl-http-message' 'perl-uri') +options=('!emptydirs') +source=(https://www.cpan.org/authors/id/O/OA/OALDERS/HTML-Parser-$pkgver.tar.gz) +sha512sums=('29e7842627704d52e607f741d9205b9fa2e18d51690c9356f0073df9bae12c774aea7cc6eb0c23115bfc93df977f1660c144cb5f44631abb28a59714e4a6be08') + +build() { + cd HTML-Parser-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd HTML-Parser-$pkgver + make test +} + +package() { + cd HTML-Parser-$pkgver + make install DESTDIR="${pkgdir}" +}