summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/perl-email-sender/APKBUILD37
1 files changed, 37 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+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"