mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
27 lines
885 B
Bash
27 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
|
||
|
}
|