archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-timedate / repos / extra-any / PKGBUILD
blobb1ada4998705621b6174f72e821114f7de227cd9
1 # Maintainer: Felix Yan <felixonmars@gmail.com>
2 # Contributor: Kevin Piche <kevin@archlinux.org>
3 # Contributor: Manolis Tzanidakis
5 pkgname=perl-timedate
6 pkgver=2.33
7 pkgrel=4
8 pkgdesc="Date formating subroutines"
9 arch=('any')
10 license=('PerlArtistic')
11 url="https://search.cpan.org/dist/TimeDate/"
12 depends=('perl')
13 replaces=('timedate')
14 provides=('timedate')
15 options=('!emptydirs')
16 source=("https://www.cpan.org/authors/id/A/AT/ATOOMIC/TimeDate-$pkgver.tar.gz")
17 sha512sums=('a3a20a0d9439e68bf621c66fad0598e6257345727be79c87c7cc99994b3a58eb738787fedb720beb069e9758ad1347c15313f64411806dd0f4dfbcca5061c820')
19 build() {
20   cd TimeDate-$pkgver
21   perl Makefile.PL INSTALLDIRS=vendor
22   make
25 check() {
26   cd TimeDate-$pkgver
27   make test
30 package() {
31   cd TimeDate-$pkgver
32   make install DESTDIR="$pkgdir"