summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:05:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:05:39 +0000
commitf13265cdc9e67ba55ca621bf6a1783554297d2a6 (patch)
treea0cf8cf3fe2d6fbe9420373a47d96f328b3d55db
parent5a5635672fb66cfbfc175c8f425aa20947a37a4d (diff)
downloadpackages-f13265cdc9e67ba55ca621bf6a1783554297d2a6.tar.gz
packages-f13265cdc9e67ba55ca621bf6a1783554297d2a6.tar.bz2
packages-f13265cdc9e67ba55ca621bf6a1783554297d2a6.tar.xz
packages-f13265cdc9e67ba55ca621bf6a1783554297d2a6.zip
user/perl-email-simple: new package
-rw-r--r--user/perl-email-simple/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-email-simple/APKBUILD b/user/perl-email-simple/APKBUILD
new file mode 100644
index 000000000..8a5b75f2a
--- /dev/null
+++ b/user/perl-email-simple/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-email-simple
+_pkgname=Email-Simple
+pkgver=2.216
+pkgrel=0
+pkgdesc="Simple parsing of RFC 2822 email messages and headers for Perl"
+url="https://metacpan.org/release/Email-Simple"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl-email-date-format"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Simple-$pkgver.tar.gz"
+builddir="$srcdir/Email-Simple-$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="2d729b6ad3cc493d27a8b3f775c046ca16dc53e7fe701fa78c87fbdeb350d3c9fe546ab0721504747f443f0f4e33d395b08b53374b32f89a842ef09a5b1dde70 Email-Simple-2.216.tar.gz"