updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-socket-getaddrinfo / PKGBUILD
blobaad8e1307f5662b0c7c83448f1e8d55d62352c91
1 # Contributor: Anonymous
2 # Generator  : CPANPLUS::Dist::Arch 1.11
4 pkgname='perl-socket-getaddrinfo'
5 pkgver='0.20'
6 pkgrel='1'
7 pkgdesc="RFC 2553's C<getaddrinfo> and C<getnameinfo>
8 functions."
9 arch=('any')
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
12 depends=('perl')
13 makedepends=('perl-extutils-cchecker>=0.06')
14 url='http://search.cpan.org/dist/Socket-GetAddrInfo'
15 source=('http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Socket-GetAddrInfo-0.20.tar.gz')
16 md5sums=('6fd3dc7f0ce9ca20a540372711533472')
18 build() {
19   PERL=/usr/bin/perl
20   DIST_DIR="${srcdir}/Socket-GetAddrInfo-0.20"
21   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
22     PERL_AUTOINSTALL=--skipdeps                            \
23     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
24     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
25     MODULEBUILDRC=/dev/null
27   cd "$DIST_DIR"
28   $PERL Makefile.PL
29   make
30   make test
31   make install
33   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
36 # Local Variables:
37 # mode: shell-script
38 # sh-basic-offset: 2
39 # End:
40 # vim:set ts=2 sw=2 et: