summaryrefslogtreecommitdiff
path: root/community/perl-xml-libxslt/PKGBUILD
blob: 454ae378f1428b1803854972f64cd71b59f07389 (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
31
# $Id: PKGBUILD 71841 2012-06-02 10:32:34Z bluewind $
# Maintainer: Justin "juster" Davis <jrcd83@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-xml-libxslt
pkgver=1.77
pkgrel=1
pkgdesc="Interface to the gnome libxslt library"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/XML-LibXSLT"
license=('GPL')
depends=('perl-xml-libxml' 'libxslt')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-$pkgver.tar.gz)
md5sums=('a9cf4adb3637a0a42eb69a2998fa488e')

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"
}