aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-date-format/APKBUILD
blob: 819220e23d073109f1293bb1bcc54a2c632a7197 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                  

           
                                           
                                           
             
                                               

                      
                          
                                                                                    
 
                                     

         
                                                                 



            
                 


           




                                                   
                                                                                                                                                                   
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=perl-date-format
_realname=TimeDate
pkgver=2.33
pkgrel=0
pkgdesc="Perl - Date formating subroutines"
url="https://metacpan.org/release/TimeDate"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/$_realname-$pkgver.tar.gz"

builddir="$srcdir/$_realname-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

sha512sums="a3a20a0d9439e68bf621c66fad0598e6257345727be79c87c7cc99994b3a58eb738787fedb720beb069e9758ad1347c15313f64411806dd0f4dfbcca5061c820  TimeDate-2.33.tar.gz"