summaryrefslogtreecommitdiff
path: root/community-testing/perl-xml-libxslt/PKGBUILD
blob: de58675ecb654c39119fdd3e559f16859d5656c4 (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
26
27
28
29
30
# Id:$
# Maintainer: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-xml-libxslt
pkgver=1.70
pkgrel=5
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
}