upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / perl-email-address / repos / community-any / PKGBUILD
blob2f966b850f94037bb34b09d78d6a2e176b11194f
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
4 pkgname=perl-email-address
5 pkgver=1.913
6 pkgrel=1
7 pkgdesc="RFC 2822 Address Parsing and Creation "
8 arch=('any')
9 url="https://search.cpan.org/dist/Email-Address"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl')
12 options=('!emptydirs')
13 source=("https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Address-$pkgver.tar.gz")
14 sha256sums=('6afb541f6df6b535ccf7642d361ae18d7a95a3f93ace1bc5373f64c2410ca5af')
16 build() {
17   cd  "$srcdir"/Email-Address-$pkgver
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
19   make
22 package() {
23   cd  "$srcdir"/Email-Address-$pkgver
24   make install DESTDIR="$pkgdir"
25   find "$pkgdir" -name '.packlist' -delete
26   find "$pkgdir" -name '*.pod' -delete