summaryrefslogblamecommitdiff
path: root/user/perl-email-date-format/APKBUILD
blob: 64f6626821806c2641b60e54a8ed9e47718c7d7b (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.006
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="07120fa73339808439d1616837412983057f3b7716f66dedb8e6710bb0aa852091b3325e8f9e016f6fbbc85478c538bf6395c27cfdf769d6a332f14b95d681bc  Email-Date-Format-1.006.tar.gz"