summaryrefslogblamecommitdiff
path: root/system/perl-http-date/APKBUILD
blob: c0149024012f8f309e5d3abfe883892f8aab154c (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.04
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="860afb25a9548561f574fc4ef908a8dedd395af17f220516391b890ac6dd7c26a0974f284d288a26273a12eabea879f2f1a62f0ca0ed3ba59dafa3570c0ee8f4  HTTP-Date-6.04.tar.gz"