aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-mail-authenticationresults/APKBUILD40
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 00000000000..d766d7c7abb
--- /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"