summaryrefslogtreecommitdiff
path: root/user/perl-email-reply/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:36:52 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:36:52 +0000
commit4c80c9c57c9f7f92850e0452db69e2ccf2aebe78 (patch)
tree572a57bed9bcaddaabcd3d776d57e2bd4eac42e0 /user/perl-email-reply/APKBUILD
parent3d45e787ad38e15a926a3f9b8e9cf41d36eaf2e6 (diff)
downloadpackages-4c80c9c57c9f7f92850e0452db69e2ccf2aebe78.tar.gz
packages-4c80c9c57c9f7f92850e0452db69e2ccf2aebe78.tar.bz2
packages-4c80c9c57c9f7f92850e0452db69e2ccf2aebe78.tar.xz
packages-4c80c9c57c9f7f92850e0452db69e2ccf2aebe78.zip
user/perl-email-reply: new package
Diffstat (limited to 'user/perl-email-reply/APKBUILD')
-rw-r--r--user/perl-email-reply/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-email-reply/APKBUILD b/user/perl-email-reply/APKBUILD
new file mode 100644
index 000000000..b0cfc3511
--- /dev/null
+++ b/user/perl-email-reply/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-email-reply
+_pkgname=Email-Reply
+pkgver=1.204
+pkgrel=0
+pkgdesc="Reply to email from Perl"
+url="https://metacpan.org/release/Email-Reply"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl-email-abstract perl-email-address perl-email-mime"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Reply-$pkgver.tar.gz"
+builddir="$srcdir/Email-Reply-$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="78353abe415fefbf4c70398433584221bf037eab09f4a6a20bcafec4e0a632a5ee07a880e33f806f61fe3a943b7f55c428d90bbc5ea9d5c551eb78e0ff88ac5a Email-Reply-1.204.tar.gz"