archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-html-parser / repos / extra-x86_64 / PKGBUILD
blobef9cd50b61ccd4b787368c74907d5f8e4cc32aba
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: kevin <kevin@archlinux.org>
3 # Contributor: Manolis Tzanidakis
4 # Contributor: Firmicus <francois.archlinux.org>
6 pkgname=perl-html-parser
7 pkgver=3.81
8 pkgrel=1
9 pkgdesc="Perl HTML parser class"
10 arch=('x86_64')
11 license=('PerlArtistic')
12 url="https://search.cpan.org/dist/HTML-Parser/"
13 depends=('perl-html-tagset' 'perl-http-message' 'perl-uri')
14 options=('!emptydirs')
15 source=(https://www.cpan.org/authors/id/O/OA/OALDERS/HTML-Parser-$pkgver.tar.gz)
16 sha512sums=('e20358d3182ed6796fb5584f26f7dfb32fe312c8ed6cd4303ebfd2d9609491cb470bf49109d485a040e59a55bb404b1abba9a7ad5a687c540945f60a606e44ad')
18 build() {
19   cd HTML-Parser-$pkgver
20   perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd HTML-Parser-$pkgver
26   make test
29 package() {
30   cd HTML-Parser-$pkgver
31   make install DESTDIR="${pkgdir}"