summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-datetime-format-strptime/PKGBUILD
blob: 9d8379054eee4e6995b0c38fffa1db3fb2e4b993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Caleb Cushing <xenoterracide@gmail.com>

pkgname=perl-datetime-format-strptime
pkgver=1.75
pkgrel=1
epoch=1
pkgdesc="Parse and Format DateTimes using Strptime"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl-datetime>=0.72' 'perl-datetime-locale>=0.45'
	 'perl-datetime-timezone>=0.79' 'perl-params-validate>=0.64'
	 'perl-package-deprecationmanager')
url="http://search.cpan.org/dist/DateTime-Format-Strptime"
source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-${pkgver}.tar.gz")
sha256sums=('4fcfb2ac4f79d7ff2855a405f39050d2ea691ee098ce54ede8af79c8d6ab3c19')

build() {
  export PERL_MM_USE_DEFAULT=1
  cd "${srcdir}/DateTime-Format-Strptime-${pkgver}"
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "${srcdir}/DateTime-Format-Strptime-${pkgver}"
  make DESTDIR="$pkgdir" install
  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}