summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-datetime-format-builder/PKGBUILD
blob: 71c3ed617d5301443ac74c0ab5331b2db50e0d55 (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
# $Id: PKGBUILD 65778 2012-02-22 12:27:49Z spupykin $
# Contributor: Caleb Cushing <xenoterracide@gmail.com>

pkgname=perl-datetime-format-builder
pkgver=0.8000
pkgrel=6
pkgdesc="Create DateTime parser classes and objects"
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
provides=('perl-datetime-format-builder=0.80')
depends=('perl' 'perl-class-factory-util>=1.6' 'perl-datetime>=0.12' 'perl-datetime-format-strptime>=1.04' 'perl-params-validate>=0.72')
url='http://search.cpan.org/dist/DateTime-Format-Builder'
source=('http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-0.80.tar.gz')
md5sums=('f6c5d5a17b5b7478ff555a2d3cce5136')

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

package() {
  cd "${srcdir}/DateTime-Format-Builder-0.80"
  make DESTDIR="$pkgdir" install

  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}