summaryrefslogblamecommitdiff
path: root/user/perl-email-address-xs/APKBUILD
blob: de6e93dd140ba14e8178c6b1fe0e0373c241efbd (plain) (tree)
1
2
3
4
5
6
7
                                                  
                                                          
                             



                               




                                                           
                                       
              

                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                           
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-email-address-xs
_pkgreal=Email-Address-XS
_author=PALI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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-1.0+"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="2dda846f998cdc2112067b7a994e86162de765a0a23f2288cb8292f26b9ac07171452961389badb678d5568c7f4b0966d9dc97c1d91cd4be2b9767f0e615b1d8  Email-Address-XS-1.04.tar.gz"