blob: fe123e7bf37c6fea08b151d5ef4c1a23db56b506 (
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
34
35
36
37
38
39
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-email-address-list
_pkgreal=Email-Address-List
pkgver=0.01
pkgrel=0
pkgdesc="RFC close address list parsing"
url="http://search.cpan.org/dist/Email-Address-List/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-email-address"
cpanmakedepends="perl-json "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="0987dc5ba9184217fc1c8f1d28d6c906 Email-Address-List-0.01.tar.gz"
sha256sums="8ff17fc06ff6d67d378e30f16e2e1930f2a1d5db2f7f59973b4166d38cac4a3e Email-Address-List-0.01.tar.gz"
sha512sums="0004c808fc299764b0f717391d8b21cdbdf2d9979fb08c428ef2d2428ab206e134e700b74dd8367d34690406b3693ccaed4e8865df81c2ecb7de914d2ac6e2ea Email-Address-List-0.01.tar.gz"
|