diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-17 23:35:02 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-17 23:35:02 +0000 |
commit | e672045a6377c23b09ed63af7454fcbda8b76733 (patch) | |
tree | 303ac6c8978f56bf8301bb48b71cea9040e05b20 /user/perl-email-abstract | |
parent | 5ae0e9a86ad9fb5bff704d2a2577ee408499d0e5 (diff) | |
download | packages-e672045a6377c23b09ed63af7454fcbda8b76733.tar.gz packages-e672045a6377c23b09ed63af7454fcbda8b76733.tar.bz2 packages-e672045a6377c23b09ed63af7454fcbda8b76733.tar.xz packages-e672045a6377c23b09ed63af7454fcbda8b76733.zip |
user/perl-email-abstract: new package
Diffstat (limited to 'user/perl-email-abstract')
-rw-r--r-- | user/perl-email-abstract/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-email-abstract/APKBUILD b/user/perl-email-abstract/APKBUILD new file mode 100644 index 000000000..2df402287 --- /dev/null +++ b/user/perl-email-abstract/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-email-abstract +_pkgname=Email-Abstract +pkgver=3.008 +pkgrel=0 +pkgdesc="Unified interface to email representations in Perl" +url="https://metacpan.org/release/Email-Abstract" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-email-simple perl-mro-compat perl-module-pluggable" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Abstract-$pkgver.tar.gz" +builddir="$srcdir/Email-Abstract-$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="efead64612562fb9d644fa830b2f29e0701af0f3ddeb118992badff7c7a45cb569ad4644a7b226cc625cdabfb3f5db155284eb68042928265bfc5c230f4bf40a Email-Abstract-3.008.tar.gz" |