summaryrefslogblamecommitdiff
path: root/user/perl-datetime-timezone/APKBUILD
blob: 82ed28c5c673c8932879222f4e839568a70c2ca6 (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-datetime-timezone
_pkgreal=DateTime-TimeZone
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.62
pkgrel=0
pkgdesc="Time zone object class and factory for Perl"
url="https://metacpan.org/release/DateTime-TimeZone"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-class-singleton perl-module-runtime
	perl-namespace-autoclean perl-params-validationcompiler perl-specio
	perl-try-tiny perl"
checkdepends="perl-test-fatal perl-test-output perl-test-requires
	perl-test-taint"
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="7608a47b5acbf61904f66cc945bd96ff1042af6a6d3077905d238239dfdb8cd4a4dc3c75d21c37308d2ed716c64557c7a0fae41e47403a6771cf2f53cbb22afb  DateTime-TimeZone-2.62.tar.gz"