# Maintainer: Leonardo Arena pkgname=perl-email-address-list pkgver=0.05 pkgrel=0 pkgdesc="RFC close address list parsing " url="http://search.cpan.org/dist/Email-Address-List/" arch="noarch" license="GPL+ or Artistic" depends="perl" makedepends="perl-dev" install="" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/Email-Address-List-$pkgver.tar.gz" _builddir="$srcdir"/Email-Address-List-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make && make test || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="0b723b59596f9dd998c35b0eb89cc935 Email-Address-List-0.05.tar.gz" sha256sums="705c23fc2163c2347ba0aea998450259f7b10577a368c6d310bd4e98b427a033 Email-Address-List-0.05.tar.gz" sha512sums="cfb7ea59de8c164a632afdea2d269213052709d91d56869198e1e788452a1746d8f37ad681c946d4b705363311d95ad2babff6fadabda50818da3d2b9e14cde5 Email-Address-List-0.05.tar.gz"