Skip to content
Snippets Groups Projects
Verified Commit df955375 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/perl-email-address-xs: new package

parent 59f0f459
No related branches found
No related tags found
No related merge requests found
# 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment