# $Id: PKGBUILD 95642 2013-08-15 09:47:16Z 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-datetime-event-ical
pkgver=0.11
pkgrel=2
pkgdesc="Perl/CPAN Module DateTime::Event::ICal"
arch=('any')
url="http://search.cpan.org/dist/DateTime-Event-ICal"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/F/FG/FGLOCK/DateTime-Event-ICal-$pkgver.tar.gz")
md5sums=('aea95965715c4e438fe981a5407e1328')

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

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