archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-xml-parser / trunk / PKGBUILD
blob7af8b8f76e7273e01e0e319926772b64380b7c34
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=perl-xml-parser
4 pkgver=2.46
5 pkgrel=4
6 pkgdesc="Expat-based XML parser module for perl"
7 arch=('x86_64')
8 license=('GPL' 'PerlArtistic')
9 url="https://search.cpan.org/dist/XML-Parser/"
10 depends=('perl-libwww' 'expat')
11 options=('!emptydirs')
12 source=("https://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${pkgver}.tar.gz")
13 sha512sums=('c4609495cc5ca34952f61876a690ef76d42eee6689d1bedb8036c9eab918525ec5213f1639c7178c029ee0f8765a2ca5eb0197f6e39b8be6d5dbc3f3c1d0b389')
15 build() {
16   cd XML-Parser-${pkgver}
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd XML-Parser-${pkgver}
23   make test
26 package() {
27   cd XML-Parser-${pkgver}
28   make DESTDIR="${pkgdir}" install