blob: 0ed09716d72c898ddd0316dd13b81e0c703825d4 (
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
|
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-xml-libxml
pkgver=1.66
pkgrel=3
pkgdesc="Interface to the libxml library"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~PAJAS/XML-LibXML"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' '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=('18e765429a4b22c8fb68b5273ead1e3c')
build() {
cd $startdir/src/XML-LibXML-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
|