1 # Contributor: zlowly <zlowly@gmail.com>
2 pkgname=perl-xml-encoding
6 pkgdesc="Perl/CPAN Module XML::Encoding - A perl module for parsing XML encoding maps"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.6.0' 'perlxml')
10 url="http://search.cpan.org/~shay/XML-Encoding-${pkgver}/Encoding.pm"
12 source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHAY/XML-Encoding-${pkgver}.tar.gz)
13 md5sums=('21a602a43060d49302c86ca77aa9db33')
15 cd ${srcdir}/${_realname}-${pkgver}
16 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
18 make install DESTDIR=${pkgdir} || return 1
19 find ${pkgdir} -name perllocal.pod -delete
20 find ${pkgdir} -name .packlist -delete