summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-xml-libxml-common/PKGBUILD
blob: 3780531e21ead38b145f1961070ba759e8972d77 (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
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-xml-libxml-common
pkgver=0.13
pkgrel=3
pkgdesc="Routines and Constants common for XML::LibXML and XML::GDOME"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~PHISH/XML-LibXML-Common"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'libxml2')
provides=('perl-libxml-common')
replaces=('perl-libxml-common')
conflicts=('perl-libxml-common')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-Common-$pkgver.tar.gz) 
md5sums=('13b6d93f53375d15fd11922216249659')

build() {
  cd  $startdir/src/XML-LibXML-Common-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}