diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-04-15 10:35:23 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-04-15 10:35:23 +0000 |
commit | 834ff08917471c7eca8be7fc68198f5ecb90c204 (patch) | |
tree | 2ce349ee17803855c4378cee0b29ce6e12d065aa /main/perl-mail-authenticationresults | |
parent | 3a8f30471788f925727fcdea7612f570e90cc923 (diff) | |
download | aports-834ff08917471c7eca8be7fc68198f5ecb90c204.tar.bz2 aports-834ff08917471c7eca8be7fc68198f5ecb90c204.tar.xz |
main/perl-mail-authenticationresults: new aport
Needed by newer versions of perl-mail-dkim
Diffstat (limited to 'main/perl-mail-authenticationresults')
-rw-r--r-- | main/perl-mail-authenticationresults/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/perl-mail-authenticationresults/APKBUILD b/main/perl-mail-authenticationresults/APKBUILD new file mode 100644 index 0000000000..d766d7c7ab --- /dev/null +++ b/main/perl-mail-authenticationresults/APKBUILD @@ -0,0 +1,40 @@ +# Automatically generated by apkbuild-cpan, template 2 +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perl-mail-authenticationresults +_pkgreal=Mail-AuthenticationResults +pkgver=1.20180923 +pkgrel=0 +pkgdesc="Object Oriented Authentication-Results Headers" +url="https://metacpan.org/release/Mail-AuthenticationResults/" +arch="noarch" +license="Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="perl-test-exception" +cpancheckdepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +checkdepends="$cpancheckdepends" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-AuthenticationResults-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="e8a33593261c59b8c1c91d6e655f8a3f6112974169dde9689788a7e0e83a0e66e6a5872ac56d7882e324c914bbb869b3f8c7b330ccf42765633fd475ef68f3be Mail-AuthenticationResults-1.20180923.tar.gz" |