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

23 lines
807 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-xml-stream
pkgver=1.22
pkgrel=3
pkgdesc="Perl/CPAN Module XML::Stream : Module for handling XML Streams"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/XML-Stream"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/R/RE/REATMON/XML-Stream-1.22.tar.gz")
md5sums=('ae09400fac17eaea4c9b12283db06881')
makedepends=("perl-authen-sasl")
depends=("perl-authen-sasl")
build() {
cd $startdir/src/XML-Stream-1.22
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
}