diff options
Diffstat (limited to 'abs/core/perl_modules/perl-xml-libxslt/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-xml-libxslt/PKGBUILD | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD b/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD index 503e401..708898b 100644 --- a/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-libxslt/PKGBUILD @@ -1,23 +1,30 @@ +# Id:$ # Maintainer: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-xml-libxslt -pkgver=1.68 -pkgrel=1 +pkgver=1.70 +pkgrel=6 pkgdesc="Interface to the gnome libxslt library " arch=('i686' 'x86_64') -url="http://search.cpan.org/~PAJAS/XML-LibXSLT" -license=('GPL' 'PerlArtistic') -depends=('perl-xml-libxml>=1.67' 'libxslt') -options=('!emptydirs') +url="http://search.cpan.org/dist/XML-LibXSLT" +license=('GPL') +depends=('perl-xml-libxml' 'libxslt') source=(http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXSLT-$pkgver.tar.gz) -md5sums=('23265ad14469b3eede5833f205198a6f') +md5sums=('c63a7913999de076e5c911810f69b392') build() { cd $srcdir/XML-LibXSLT-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=$pkgdir || return 1 - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check () { + cd $srcdir/XML-LibXSLT-$pkgver + make test +} + +package() { + cd $srcdir/XML-LibXSLT-$pkgver + make install DESTDIR=$pkgdir } |