summaryrefslogblamecommitdiff
path: root/user/perl-datetime-timezone/APKBUILD
blob: 9ebee6f7bc463c9ec6d80a4f82cb32d5292c223a (plain) (tree)
1
2
3
4
5



                                                                   
           













                                                                                           




                                                                 



                 



                                                                           
                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-datetime-timezone
_pkgname=DateTime-TimeZone
pkgver=2.35
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-2.0-only"
depends="perl-class-singleton perl-module-runtime perl-namespace-autoclean
	perl-params-validationcompiler perl-specio perl-try-tiny"
checkdepends="perl-test-fatal perl-test-requires"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz"
builddir="$srcdir/DateTime-TimeZone-$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="5d103d89586c24f9409baba8233c0655cdf7799d5fa58b5a8708eb883289c35cc6f04f2488c90987b91be17932054293bedac3b682dd534206848bd4778f0ce5  DateTime-TimeZone-2.35.tar.gz"