pkgname=perl-xml-parser pkgver=2.47 pkgrel=1 pkgdesc="Expat-based XML parser module for perl" arch=('x86_64') url="https://github.com/chorny/XML-Parser" license=('GPL-1.0-or-later' 'PerlArtistic') depends=('expat' 'perl') options=('!emptydirs') source=(https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-${pkgver}.tar.gz) sha256sums=(ad4aae643ec784f489b956abe952432871a622d4e2b5c619e8855accbfc4d1d8) build() { cd XML-Parser-${pkgver} perl Makefile.PL make } package() { cd XML-Parser-${pkgver} make DESTDIR=${pkgdir} install }