From 8b513e5913f90a3ee9b975ceaf1d3fcbfd0f5fa5 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 17 Nov 2018 23:42:05 +0000 Subject: user/perl-email-sender: new package --- user/perl-email-sender/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 user/perl-email-sender/APKBUILD diff --git a/user/perl-email-sender/APKBUILD b/user/perl-email-sender/APKBUILD new file mode 100644 index 000000000..b058c701c --- /dev/null +++ b/user/perl-email-sender/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-email-sender +_pkgname=Email-Sender +pkgver=1.300031 +pkgrel=0 +pkgdesc="Library for sending email" +url="https://metacpan.org/release/Email-Sender" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-capture-tiny perl-email-abstract perl-email-address + perl-email-simple perl-module-runtime perl-moo + perl-moox-types-mooselike perl-sub-exporter perl-throwable + perl-try-tiny" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Sender-$pkgver.tar.gz" +builddir="$srcdir/Email-Sender-$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="72aa65d21df9b0a1fa52ba99c9c1c4a660142819ed9658eb2c2b74f1ab70257911af1f071524ecbb3917a7be1464b7a157792b5e03921788ce9f23a86e7874f1 Email-Sender-1.300031.tar.gz" -- cgit v1.2.3-70-g09d2