summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:11:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:11:46 +0000
commit831333ae2fae69d6f7942d319f3715d35a0ef9cb (patch)
treea10d2a94687b7a31ffb001ad158aa3233250218f /user
parente1684d9767ae85541eda1f1e353bada0dd4b82b8 (diff)
downloadpackages-831333ae2fae69d6f7942d319f3715d35a0ef9cb.tar.gz
packages-831333ae2fae69d6f7942d319f3715d35a0ef9cb.tar.bz2
packages-831333ae2fae69d6f7942d319f3715d35a0ef9cb.tar.xz
packages-831333ae2fae69d6f7942d319f3715d35a0ef9cb.zip
user/perl-email-mime-encodings: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-email-mime-encodings/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-email-mime-encodings/APKBUILD b/user/perl-email-mime-encodings/APKBUILD
new file mode 100644
index 000000000..17ad0f379
--- /dev/null
+++ b/user/perl-email-mime-encodings/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-email-mime-encodings
+_pkgname=Email-MIME-Encodings
+pkgver=1.315
+pkgrel=0
+pkgdesc="Unified interface to MIME codecs for Perl"
+url="https://metacpan.org/release/Email-MIME-Encodings"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl-capture-tiny"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-MIME-Encodings-$pkgver.tar.gz"
+builddir="$srcdir/Email-MIME-Encodings-$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="4cd787e099617b70963c8ef6372e2a16038c61170fdd343aad88a024ecd15c789fd2c8cc19830c3518b6648e428301eed1ae20f496fa97afbdd8bb7f3ae432aa Email-MIME-Encodings-1.315.tar.gz"