1 # Maintainer: Jakob Nixdorf <flocke@user-helfen-usern.de>
3 pkgname=perl-xml-treepp
6 pkgdesc="Pure Perl implementation for parsing/writing xml files"
7 depends=('perl>=5.10.0' 'glibc')
8 license=('GPL' 'PerlArtistic')
9 url="http://search.cpan.org/dist/XML-TreePP"
10 source=(http://search.cpan.org/CPAN/authors/id/K/KA/KAWASAKI/XML-TreePP-$pkgver.tar.gz)
11 md5sums=('3e999ac519163cf3cab70d3ee8d40b34')
12 options=('!emptydirs')
17 cd ${srcdir}/XML-TreePP-$pkgver
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make DESTDIR=${pkgdir} install || return 1
23 # Remove .packlist and perllocal.pod files.
24 find ${pkgdir} -name '.packlist' -delete
25 find ${pkgdir} -name 'perllocal.pod' -delete