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

24 lines
885 B
Bash

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