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



                               
            



                                                              
                                       
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-email-address
_pkgreal=Email-Address
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.913
pkgrel=0
pkgdesc="Deprecated RFC 2822 address parsing library for Perl"
url="https://metacpan.org/release/Email-Address"
arch="noarch"
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="3c12c052cf7bc5738763f35e81eb328f990494774703ac204b516cec7faa985d262af79126e4068cb084ee4f3b56b1704bbe219288ff8efe5e61b6a62fcea901  Email-Address-1.913.tar.gz"