diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-17 23:16:08 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-17 23:16:08 +0000 |
commit | df95537598979ad86622492a474b4b48b9ac2dff (patch) | |
tree | 194aab86957ddf76bee2e31614b42af86a846c14 /user/perl-email-address-xs | |
parent | 59f0f459bef2eef6860ca405020aff136c155664 (diff) | |
download | packages-df95537598979ad86622492a474b4b48b9ac2dff.tar.gz packages-df95537598979ad86622492a474b4b48b9ac2dff.tar.bz2 packages-df95537598979ad86622492a474b4b48b9ac2dff.tar.xz packages-df95537598979ad86622492a474b4b48b9ac2dff.zip |
user/perl-email-address-xs: new package
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" |