summaryrefslogblamecommitdiff
path: root/user/perl-email-date-format/APKBUILD
blob: b0b6ce4cb3a6f208e12cdff5e640f2e6266fec68 (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-date-format
_pkgreal=Email-Date-Format
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.008
pkgrel=0
pkgdesc="Produce RFC 2822 date strings in Perl"
url="https://metacpan.org/release/Email-Date-Format"
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="24c97cd3b739c2f3c298b9ec168c4614bb71b13a0106f351990443cc86506e4e121f9c647bde6f08080a876f36adeb3fcef566d87ded9bddcbec6f3191f508be  Email-Date-Format-1.008.tar.gz"