From 4c80c9c57c9f7f92850e0452db69e2ccf2aebe78 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 18 Nov 2018 02:36:52 +0000 Subject: user/perl-email-reply: new package --- user/perl-email-reply/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-email-reply/APKBUILD (limited to 'user/perl-email-reply') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2