summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-datetime/PKGBUILD
blob: 0b32ce3a2a9b49f3244cc327062152aab2c43b59 (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
# $Id: PKGBUILD 31942 2010-11-08 11:04:10Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-datetime
pkgver=0.65
pkgrel=1
pkgdesc="A complete, easy to use date and time object"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/DateTime"
license=('GPL' 'PerlArtistic')
depends=('perl-datetime-timezone>=0.59' 'perl-datetime-locale>=0.41' 'perl-params-validate>=0.76')
LC_NUMERIC=C
provides=("perl-datetime=`printf %.4f $pkgver`")
options=('!emptydirs' 'force')
source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz)
md5sums=('99fd327152d3a462ba575c8c74d5cb65')

build() {
  cd  $srcdir/DateTime-$pkgver

  perl Build.PL installdirs=vendor destdir="$pkgdir/"
  ./Build
#  ./Build test
  ./Build install

  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}