summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-sax-base/PKGBUILD
blob: 7e3ae0702f7c968ea719a93b2da9b395e993a476 (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: PKGBUILD 143954 2011-11-30 22:11:53Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: James Hunt <lazy at brandnewmath dot com>

pkgname=perl-xml-sax-base
pkgver=1.08
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=('38c8c3247dfd080712596118d70dbe32')

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
}