summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:14:14 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:14:14 +0000
commit59f0f459bef2eef6860ca405020aff136c155664 (patch)
treefcf340d53979e872bf41fd154189642fcf144d90 /user
parent831333ae2fae69d6f7942d319f3715d35a0ef9cb (diff)
downloadpackages-59f0f459bef2eef6860ca405020aff136c155664.tar.gz
packages-59f0f459bef2eef6860ca405020aff136c155664.tar.bz2
packages-59f0f459bef2eef6860ca405020aff136c155664.tar.xz
packages-59f0f459bef2eef6860ca405020aff136c155664.zip
user/perl-email-messageid: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-email-messageid/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-email-messageid/APKBUILD b/user/perl-email-messageid/APKBUILD
new file mode 100644
index 000000000..6283eb5a4
--- /dev/null
+++ b/user/perl-email-messageid/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-email-messageid
+_pkgname=Email-MessageID
+pkgver=1.406
+pkgrel=0
+pkgdesc="Generate unique Message-IDs in Perl"
+url="https://metacpan.org/release/Email-MessageID"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-MessageID-$pkgver.tar.gz"
+builddir="$srcdir/Email-MessageID-$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="c36861267a127372076391e5e6458ee19bbdc8d09c3b1ce3131d0cad1a82a6f9b2bc5a29df8bafa2450ea0e5c06993abf98928f2246e694d05875e40b7e36109 Email-MessageID-1.406.tar.gz"