summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-sax-base/PKGBUILD
blob: d304e3324c5ec449e0fa67670197d71a8c245e63 (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
32
33
34
# $Id$
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: James Hunt <lazy at brandnewmath dot com>

pkgname=perl-xml-sax-base
pkgver=1.09
pkgrel=2
pkgdesc="Base class SAX Drivers and Filters"
arch=('any')
url="http://search.cpan.org/dist/XML-SAX-Base"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$pkgver.tar.gz")
md5sums=('ec347a14065dd7aec7d9fb181b2d7946')

build() {
  cd  $srcdir/XML-SAX-Base-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd  $srcdir/XML-SAX-Base-$pkgver
  make test
}

package() {
  cd  $srcdir/XML-SAX-Base-$pkgver
  make install DESTDIR=$pkgdir

  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}