updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / perl-xml-dom / PKGBUILD
blob07e39f20b7d09032f11a39477578e7c74b17c6b7
1 # Maintainer: kfgz <kfgz at interia pl>
2 # Contributor: François Charette <firmicus at gmx dot net>
4 pkgname=perl-xml-dom
5 pkgver=1.44
6 pkgrel=7
7 pkgdesc="Implements Level 1 of W3's DOM"
8 arch=('i686' 'x86_64')
9 url="http://search.cpan.org/dist/XML-DOM"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl>=5.10.0' 'perlxml>=2.30' 'perl-xml-regexp' 'libxml-perl>=0.07' 'perl-libwww')
12 options=('!emptydirs')
13 source=(http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-DOM-${pkgver}.tar.gz) 
14 md5sums=('1ec2032a06e5762984f7a332c199c205')
16 build() {
17   cd ${srcdir}/XML-DOM-${pkgver}
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
19   make
22 package() {
23   cd ${srcdir}/XML-DOM-${pkgver}
24   make install DESTDIR=${pkgdir}
25   find ${pkgdir} -name '.packlist' -delete
26   find ${pkgdir} -name '*.pod' -delete