PKGBUILDs/community/perl-xml-libxml/PKGBUILD
2009-10-09 21:15:33 -05:00

26 lines
885 B
Bash

# Maintainer: François Charette <francois.archlinux.org>
pkgname=perl-xml-libxml
pkgver=1.69
pkgrel=2
pkgdesc="Interface to the libxml library"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/XML-LibXML"
license=('GPL' 'PerlArtistic')
depends=('libxml2' 'perl-xml-libxml-common>=0.13' 'perl-xml-sax>=0.11' 'perl-xml-namespacesupport>=1.07')
provides=('perl-libxml')
replaces=('perl-libxml')
conflicts=('perl-libxml')
install=('perl-xml-libxml.install')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-$pkgver.tar.gz)
md5sums=('8295f4ae7b09729985dd1133e3ad0d0a')
build() {
cd $srcdir/XML-LibXML-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$pkgdir || return 1
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}