PKGBUILDs/community/perl-poe/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
793 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-poe
pkgver=1.268
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=('e5290beba4884064da68320dc46bf296')
build() {
cd $startdir/src/POE-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}