summaryrefslogblamecommitdiff
path: root/user/perl-datetime-locale/APKBUILD
blob: daddfb5a6d19ec283150f959f83ca18d96532913 (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-locale
_pkgreal=DateTime-Locale
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.40
pkgrel=0
pkgdesc="Locale support for Perl DateTime"
url="https://metacpan.org/release/DateTime-Locale"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-dist-checkconflicts perl-file-sharedir perl-file-sharedir-install
	perl-ipc-system-simple perl-namespace-autoclean
	perl-params-validationcompiler perl"
checkdepends="perl-specio perl-test-fatal perl-test-file-sharedir
	perl-test-requires perl-test-warnings perl-test2-suite
	perl-test2-plugin-nowarnings"
makedepends="perl-dev perl-cpan-meta-check perl-dist-checkconflicts"
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="40942acea6e27ea7e84a6c38ec712c868f9009adaa16b9dbfa4ff5d5094a8add4a5fcaafe49b7bbb8530348ad79ac7a910efab68a5085a41e731108797ea1045  DateTime-Locale-1.40.tar.gz"