1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
4 pkgname=perl-email-address
7 pkgdesc="RFC 2822 Address Parsing and Creation "
9 url="https://search.cpan.org/dist/Email-Address"
10 license=('GPL' 'PerlArtistic')
12 options=('!emptydirs')
13 source=("https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Address-$pkgver.tar.gz")
14 sha256sums=('6afb541f6df6b535ccf7642d361ae18d7a95a3f93ace1bc5373f64c2410ca5af')
17 cd "$srcdir"/Email-Address-$pkgver
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
23 cd "$srcdir"/Email-Address-$pkgver
24 make install DESTDIR="$pkgdir"
25 find "$pkgdir" -name '.packlist' -delete
26 find "$pkgdir" -name '*.pod' -delete