# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor: Sergej Pupykin pkgname=perl-email-address pkgver=1.889 pkgrel=1 pkgdesc="RFC 2822 Address Parsing and Creation " arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Email-Address" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') source=(http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Address-$pkgver.tar.gz) md5sums=('9e7762c7a1aecd3276934ac664022f7e') build() { cd $startdir/src/Email-Address-$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 }