aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-datetime-locale/APKBUILD
blob: df84a2571dd9c3be71eb5ffde7331fd23ec88ab0 (plain) (tree)
1
2
3
4
5
6
7
8


                                                    
           

                                      
                                                  
             



                                                                                                         
                                                             
                      
                          
                                                                                            
 

                                          

                                                                 

 
         
                 


           
                                      


                                                                           
                                                                                                                                                                          
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-datetime-locale
pkgver=1.28
pkgrel=0
pkgdesc="DateTime::Locale perl module"
url="https://search.cpan.org/dist/DateTime-Locale"
arch="noarch"
license="Artistic-1.0-Perl GPL-1.0-or-later"
depends="perl perl-cpan-meta-check perl-dist-checkconflicts perl-file-sharedir perl-file-sharedir-install
	perl-list-moreutils perl-namespace-autoclean perl-params-validate perl-params-validationcompiler
	perl-scalar-list-utils perl-test-fatal perl-test-requires perl-test-warnings"
checkdepends="perl-test-file-sharedir perl-ipc-system-simple"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz"

builddir="$srcdir"/DateTime-Locale-$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="5c6349e9115bd8d6dba0b33809f9d8544f0d40802bbf0111005fda4990d3d815b236c44f60a1b5fe8d28d3f2f19343627df2d7ac87158be07e7de4f05c19a763  DateTime-Locale-1.28.tar.gz"