summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-sax/PKGBUILD
blob: 016fbefc31cd59d36487873bdcd62a6ca9bca757 (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
# Maintainer: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-xml-sax
pkgver=0.16
pkgrel=4
pkgdesc="Simple API for XML "
arch=('i686' 'x86_64')
url="http://search.cpan.org/~GRANTM/XML-SAX"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-xml-namespacesupport>=0.03')
options=('!emptydirs')
install=(perl-xml-sax.install )
source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz" "perl-xml-sax.patch") 
md5sums=('4b07b6a9884f772ee07139b385661e9d'
         '17a465d206f8ba43f34ca098d99f05fc')

build() {
  cd  $startdir/src
  patch -p0 < perl-xml-sax.patch || return 1
  cd  $startdir/src/XML-SAX-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}