summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-datetime-timezone/PKGBUILD
blob: 65c7e9d955de029489687eaf26e8980444dd235e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-datetime-timezone
pkgver=0.84
pkgrel=1
pkgdesc="Time zone object base class and factory "
arch=('i686' 'x86_64')
url="http://search.cpan.org/~DROLSKY/DateTime-TimeZone"
license=('GPL' 'PerlArtistic')
depends=('perl-class-singleton>=1.03' 'perl-params-validate>=0.72')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz) 

build() {
  cd  $startdir/src/DateTime-TimeZone-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}
md5sums=('e6f36fa00425d64377aeae74a7da0ac3')