diff options
Diffstat (limited to 'user/perl-email-address-xs')
-rw-r--r-- | user/perl-email-address-xs/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-email-address-xs/APKBUILD b/user/perl-email-address-xs/APKBUILD new file mode 100644 index 000000000..d50a4098e --- /dev/null +++ b/user/perl-email-address-xs/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-email-address-xs +_pkgname=Email-Address-XS +pkgver=1.04 +pkgrel=0 +pkgdesc="Parse and format RFC 5322 email addresses in Perl" +url="https://metacpan.org/release/Email-Address-XS" +arch="all" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/P/PA/PALI/Email-Address-XS-$pkgver.tar.gz" +builddir="$srcdir/Email-Address-XS-$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="2dda846f998cdc2112067b7a994e86162de765a0a23f2288cb8292f26b9ac07171452961389badb678d5568c7f4b0966d9dc97c1d91cd4be2b9767f0e615b1d8 Email-Address-XS-1.04.tar.gz" |