diff options
Diffstat (limited to 'user/perl-email-reply/APKBUILD')
-rw-r--r-- | user/perl-email-reply/APKBUILD | 34 |
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" |