summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-datetime-locale/PKGBUILD
blob: 219e9c2d8fa7cc5547836cb2c52c3ecc60389108 (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
# $Id: PKGBUILD 65785 2012-02-22 12:32:13Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-datetime-locale
pkgver=0.45
pkgrel=2
pkgdesc="Localization support for DateTime.pm "
arch=(any)
url="http://search.cpan.org/dist/DateTime-Locale"
license=('GPL' 'PerlArtistic')
depends=('perl-params-validate' 'perl-list-moreutils')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz)
md5sums=('8ba6a4b70f8fa7d987529c2e2c708862')

build() {
  cd  $srcdir/DateTime-Locale-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}