From df95537598979ad86622492a474b4b48b9ac2dff Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 17 Nov 2018 23:16:08 +0000 Subject: user/perl-email-address-xs: new package --- user/perl-email-address-xs/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-email-address-xs/APKBUILD (limited to 'user/perl-email-address-xs') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2