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

24 lines
1,005 B
Bash

# $Id: PKGBUILD 3677 2009-10-07 08:25:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-poe-component-client-http
pkgver=0.890
pkgrel=1
pkgdesc="Perl/CPAN Module POE::Component::Client::HTTP : nonblockingparallel web requests engine"
arch=(any)
url="http://search.cpan.org/dist/POE-Component-Client-HTTP"
license=("GPL" "PerlArtistic")
makedepends=("perl-uri" "perl-poe-component-client-keepalive" "perl-poe" )
depends=("perl-uri" "perl-poe-component-client-keepalive" "perl-poe" )
source=("http://www.cpan.org/authors/id/R/RC/RCAPUTO/POE-Component-Client-HTTP-$pkgver.tar.gz")
md5sums=('88508c5d66be9a7a56ed576ea17e661d')
build() {
cd $startdir/src/POE-Component-Client-HTTP-$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
}