blob: fcbad2047a1588a83fffc1577c2597b142e2f396 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-email-address-list
pkgver=0.05
pkgrel=2
pkgdesc="RFC close address list parsing"
url="http://search.cpan.org/dist/Email-Address-List/"
arch="noarch"
license="GPL+ or Artistic"
depends="perl perl-email-address"
makedepends="perl-dev perl-json perl-module-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"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="cfb7ea59de8c164a632afdea2d269213052709d91d56869198e1e788452a1746d8f37ad681c946d4b705363311d95ad2babff6fadabda50818da3d2b9e14cde5 Email-Address-List-0.05.tar.gz"
|