summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-libxml/PKGBUILD
blob: 36a5c8cdb5422205cc49d5d3d0e5c918df48b2a1 (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
# Maintainer: François Charette <francois.archlinux.org>

pkgname=perl-xml-libxml
pkgver=1.69
pkgrel=1
pkgdesc="Interface to the libxml library"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~PAJAS/XML-LibXML"
license=('GPL' 'PerlArtistic')
depends=('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
}