summaryrefslogblamecommitdiff
path: root/system/perl-http-date/APKBUILD
blob: f441ad0656b5b2c56a04219ecf0038a51578a6ca (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                   
                  
               

                               
           
        
                                              
                                            


                                           
              
                          

                                                                                        

         




                                                                 



                 
                                      


                                                  
                                                                                                                                                                    
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-http-date
_pkgreal=HTTP-Date
_author=OALDERS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=6.05
pkgrel=0
pkgdesc="Perl module date conversion routines"
url="https://metacpan.org/release/HTTP-Date"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
makedepends=""
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 -delete
}

sha512sums="08a427a860161cd0d7a34a4fa3eb6bf6439c2504478a308ff560de0e6620c20df46f004cfcb719e3d19e35fdb650728d6983ffce1423f4d9da06f91d85c7b927  HTTP-Date-6.05.tar.gz"