aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mail-authenticationresults/APKBUILD
blob: e7f5c651d4e21f072056c929c40b13873c71d390 (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
# 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.20230112
pkgrel=1
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 perl-clone"
makedepends="perl-dev 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="
78ea5067e2386ccbbe5bb9c86150c8255e6f735319968180a59c992fac35a918704792b2f18bf10c0568a41690044fbdb14b9d23e7829c178a42eb64126725fb  Mail-AuthenticationResults-2.20230112.tar.gz
"