summaryrefslogblamecommitdiff
path: root/user/perl-datetime-timezone/APKBUILD
blob: feaa24bdd0746d6f463314d9098f0a3ca19e0edf (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.52
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-requires"
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="697aaaf6e312b7fa57af0449ea14893f04e5c4c657cf34cb5f5892d7dd2d69532c68ff2b086472f39e26f119106fc4671395fc4fe6a8dd131f018abf5765d7af  DateTime-TimeZone-2.52.tar.gz"