PKGBUILDs/community/perl-email-address/PKGBUILD

24 lines
780 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
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
}