# Contributor: Fabian Affolter # Maintainer: Francesco Colista pkgname=perl-xml-writer _realname=XML-Writer pkgver=0.900 pkgrel=2 pkgdesc="Perl extension for writing XML documents" url="https://metacpan.org/dist/XML-Writer" arch="noarch" license="PerlArtistic" depends="perl" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/J/JO/JOSEPHW/$_realname-$pkgver.tar.gz" builddir="$srcdir/$_realname-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" 0856146f497194529352378bdd81462e0ffd185b2464f9995dedc3b4705f517d87960a9a473e44a0ae7095bdee0e3f0121410ea6208c3adb94636e9db0c8da2e XML-Writer-0.900.tar.gz "