updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-datetime-format-duration / PKGBUILD
blobfbf34d4d0ff3fde0147271c8b6ce0f03d80ba96a
1 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 0.16
3 pkgname='perl-datetime-format-duration'
4 pkgver='1.03'
5 pkgrel='1'
6 pkgdesc="Format and parse DateTime::Durations"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-datetime')
11 url='http://search.cpan.org/dist/DateTime-Format-Duration'
12 source=('http://search.cpan.org/CPAN/authors/id/R/RI/RICKM/DateTime-Format-Duration-1.03a.tgz')
13 md5sums=('f395c9f17d8fe65aa3b3cca6c8fecf17')
15 build() {
16   _DISTDIR="${srcdir}/DateTime-Format-Duration-1.03"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$_DISTDIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete