summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-libxml/PKGBUILD
blob: 24c6acd3b30fcb626040a8dcefd1d43ff41c389f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: François Charette <francois.archlinux.org>

pkgname=perl-xml-libxml
pkgver=1.70
pkgrel=2
pkgdesc="Interface to the libxml library"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/XML-LibXML"
license=('GPL')
depends=('libxml2' 'perl-xml-sax>=0.11' 'perl-xml-namespacesupport>=1.07')
provides=('perl-libxml' 'perl-xml-libxml-common')
replaces=('perl-libxml' 'perl-xml-libxml-common')
conflicts=('perl-libxml' 'perl-xml-libxml-common')
install=perl-xml-libxml.install
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXML-$pkgver.tar.gz) 

build() {
  cd  $srcdir/XML-LibXML-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
}
package() {
  cd  $srcdir/XML-LibXML-$pkgver
  make pure_install doc_install DESTDIR=$pkgdir || return 1
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
md5sums=('33d4294f708e20c298cfe534d1166844')