OCaml 4.14.0 rebuild
[arch-packages.git] / perl-xml-twig / trunk / PKGBUILD
blobc3f609456798b421f5956a4f05081fdfd6c21e1d
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-xml-twig
4 pkgver=3.52
5 pkgrel=9
6 pkgdesc="A module for easy processing of XML"
7 arch=('any')
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')
16 build() {
17   cd XML-Twig-${pkgver}
18   perl Makefile.PL -y INSTALLDIRS=vendor
19   make
22 check() {
23   cd XML-Twig-${pkgver}
24   make test || warning "Tests failed"
27 package() {
28   cd XML-Twig-${pkgver}
29   make DESTDIR="${pkgdir}" install