summaryrefslogtreecommitdiff
path: root/extra/perl-socket6
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-27 00:29:16 -0700
committerroot <root@rshg054.dnsready.net>2013-05-27 00:29:16 -0700
commitb4ca83da72ffb5800852339f6efe5a59c16e9f94 (patch)
tree3ed149ced423d2629e0b3a71f0b1e2cf3f6ced70 /extra/perl-socket6
parent99ee54f2484aadc464e997e54aa9c7ca7ecde198 (diff)
Mon May 27 00:29:16 PDT 2013
Diffstat (limited to 'extra/perl-socket6')
-rw-r--r--extra/perl-socket6/PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/extra/perl-socket6/PKGBUILD b/extra/perl-socket6/PKGBUILD
index bfcd0de59..31370ad40 100644
--- a/extra/perl-socket6/PKGBUILD
+++ b/extra/perl-socket6/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 180365 2013-03-20 17:57:40Z eric $
+# $Id: PKGBUILD 186415 2013-05-26 09:25:40Z bluewind $
# Maintainer: Florian Pritz <bluewind@xinu.at>
# Generator : CPANPLUS::Dist::Arch 1.18
pkgname='perl-socket6'
pkgver='0.23'
-pkgrel='2'
+pkgrel='3'
pkgdesc="getaddrinfo/getnameinfo support module"
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
@@ -15,7 +15,6 @@ url='http://search.cpan.org/dist/Socket6'
source=('http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-0.23.tar.gz')
md5sums=('2c02adb13c449d48d232bb704ddbd492')
sha512sums=('39ced223ecdef89e6fa241031019bb5a73e63d2dfdaf3edb55bfea0cb81b91bea09f1cc26b2d15fa28d32227cc13cdb093c70f0ba346c9bdb523359de53d96f9')
-_distdir="${srcdir}/Socket6-0.23"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
@@ -24,21 +23,21 @@ build() {
PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null
- cd "$_distdir"
+ cd "${srcdir}/Socket6-0.23"
/usr/bin/perl Makefile.PL
make
)
}
check() {
- cd "$_distdir"
+ cd "${srcdir}/Socket6-0.23"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
}
package() {
- cd "$_distdir"
+ cd "${srcdir}/Socket6-0.23"
make DESTDIR="$pkgdir" install
}