PKGBUILDs/community/perl-xml-sax-expat/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
800 B
Bash

# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-xml-sax-expat
pkgver=0.40
pkgrel=1
pkgdesc="SAX2 Driver for Expat (XML::Parser) "
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/XML-SAX-Expat"
license=('GPL' 'PerlArtistic')
depends=('perl-xml-namespacesupport' 'perlxml' 'perl-xml-sax')
install=perl-xml-sax-expat.install
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/B/BJ/BJOERN/XML-SAX-Expat-$pkgver.tar.gz)
build() {
cd $startdir/src/XML-SAX-Expat-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
md5sums=('ca58d1e26c437b31c52456b4b4ae5c4a')