1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
2 pkgname=perl-xml-dom-lite
5 pkgdesc="Lite Pure Perl XML DOM Parser Kit"
7 url="http://search.cpan.org/~rhundt/XML-DOM-Lite-0.15/"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0')
11 source=("http://search.cpan.org/CPAN/authors/id/R/RH/RHUNDT/XML-DOM-Lite-$pkgver.tar.gz")
12 md5sums=('1748c70d2c9991340b80379e64e5d9c1')
15 cd "$srcdir/XML-DOM-Lite-$pkgver"
17 # install module in vendor directories.
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR="$pkgdir/" || return 1
23 # remove perllocal.pod and .packlist
24 find "$pkgdir" -name perllocal.pod -delete
25 find "$pkgdir" -name .packlist -delete