1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="A module for easy processing of XML"
8 url="https://search.cpan.org/dist/XML-Twig/"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl-xml-parser' 'perl-text-iconv' 'perl')
11 checkdepends=('perl-libwww' 'perl-test-pod' 'perl-xml-simple' 'perl-html-tree' 'perl-xml-xpath' 'perl-tie-ixhash')
12 options=('!emptydirs')
13 source=("https://www.cpan.org/authors/id/M/MI/MIROD/XML-Twig-${pkgver}.tar.gz")
14 sha1sums=('ce4ad6f055ea677ab5526e55677faffcc6457eb8')
18 perl Makefile.PL -y INSTALLDIRS=vendor
24 make test || warning "Tests failed"
29 make DESTDIR="${pkgdir}" install