# Id:$
# Maintainer: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-xml-libxslt
pkgver=1.70
pkgrel=6
pkgdesc="Interface to the gnome libxslt library "
arch=('i686' 'x86_64')
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=('c63a7913999de076e5c911810f69b392')

build() {
  cd  $srcdir/XML-LibXSLT-$pkgver
  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
}