# $Id: PKGBUILD 73861 2012-07-16 05:44:58Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-poe
pkgver=1.354
pkgrel=1
pkgdesc="portable multitasking and networking framework for Perl "
arch=(any)
url="http://search.cpan.org/dist/POE"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-io-tty>=1.08')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-$pkgver.tar.gz)
md5sums=('928482218e29aa4c27f281db9bdc1ac4')

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

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