From e672045a6377c23b09ed63af7454fcbda8b76733 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 17 Nov 2018 23:35:02 +0000 Subject: user/perl-email-abstract: new package --- user/perl-email-abstract/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-email-abstract/APKBUILD (limited to 'user/perl-email-abstract') diff --git a/user/perl-email-abstract/APKBUILD b/user/perl-email-abstract/APKBUILD new file mode 100644 index 000000000..2df402287 --- /dev/null +++ b/user/perl-email-abstract/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-email-abstract +_pkgname=Email-Abstract +pkgver=3.008 +pkgrel=0 +pkgdesc="Unified interface to email representations in Perl" +url="https://metacpan.org/release/Email-Abstract" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-email-simple perl-mro-compat perl-module-pluggable" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Abstract-$pkgver.tar.gz" +builddir="$srcdir/Email-Abstract-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="efead64612562fb9d644fa830b2f29e0701af0f3ddeb118992badff7c7a45cb569ad4644a7b226cc625cdabfb3f5db155284eb68042928265bfc5c230f4bf40a Email-Abstract-3.008.tar.gz" -- cgit v1.2.3-70-g09d2