# $Id: PKGBUILD 95656 2013-08-15 09:48:58Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-time-format
pkgver=1.12
pkgrel=2
pkgdesc="Perl/CPAN Module Time::Format : Easytouse datetime formatting"
arch=(any)
url="http://search.cpan.org/dist/Time-Format"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Time-Format-$pkgver.tar.gz")
md5sums=('cd42110c749bea1b4babcd5fa9d0fdad')

build() {
  cd $srcdir/Time-Format-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $srcdir/Time-Format-$pkgver
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
