diff options
Diffstat (limited to 'community/perl-xml-libxml/PKGBUILD')
-rw-r--r-- | community/perl-xml-libxml/PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/community/perl-xml-libxml/PKGBUILD b/community/perl-xml-libxml/PKGBUILD index 41b3c887f..c73eca15d 100644 --- a/community/perl-xml-libxml/PKGBUILD +++ b/community/perl-xml-libxml/PKGBUILD @@ -2,7 +2,7 @@ pkgname=perl-xml-libxml pkgver=1.70 -pkgrel=3 +pkgrel=4 pkgdesc="Interface to the libxml library" arch=('i686' 'x86_64' 'mips64el') url="http://search.cpan.org/dist/XML-LibXML" @@ -12,19 +12,21 @@ 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) md5sums=('33d4294f708e20c298cfe534d1166844') build() { - cd $srcdir/XML-LibXML-$pkgver + cd $srcdir/XML-LibXML-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd $srcdir/XML-LibXML-$pkgver + make test +} + package() { - cd $srcdir/XML-LibXML-$pkgver + cd $srcdir/XML-LibXML-$pkgver make pure_install doc_install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete } |