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 sha256sums=('fef75826c24f2b877d0a0d2645212fc4fb9756ed4d2711614ac15c497e8680ad')
18 perl Makefile.PL -y INSTALLDIRS=vendor
24 make test || warning "Tests failed"
29 make DESTDIR="${pkgdir}" install