blob: ce9496e6091c33aed9273bd761952781f6043de9 (
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
|
# Automatically generated by apkbuild-cpan, template 3
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-mail-authenticationresults
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Mail-AuthenticationResults
pkgver=2.20210112
pkgrel=0
pkgdesc="Object Oriented Authentication-Results Headers"
url="https://metacpan.org/release/Mail-AuthenticationResults/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-json"
makedepends="perl-test-exception"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-AuthenticationResults-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="2168e8761947008670840ac1b534e2c374399120197d907b8d5c654bcb00baa5f7075caffa00a06eac5628a7583d96aeb9f077a1103266ad774aaff05f8f0130 Mail-AuthenticationResults-2.20210112.tar.gz"
|