[arch-commits] Commit in perl-io-socket-inet6/repos (extra-any extra-any/PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Sun Sep 11 09:52:06 UTC 2011
Date: Sunday, September 11, 2011 @ 05:52:06
Author: bluewind
Revision: 137799
archrelease: copy trunk to extra-any
Added:
perl-io-socket-inet6/repos/extra-any/
perl-io-socket-inet6/repos/extra-any/PKGBUILD
(from rev 137798, perl-io-socket-inet6/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: perl-io-socket-inet6/repos/extra-any/PKGBUILD (from rev 137798, perl-io-socket-inet6/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2011-09-11 09:52:06 UTC (rev 137799)
@@ -0,0 +1,49 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Generator : CPANPLUS::Dist::Arch 1.18
+
+pkgname='perl-io-socket-inet6'
+pkgver='2.67'
+pkgrel='1'
+pkgdesc="Object interface for AF_INET|AF_INET6 domain sockets"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-socket6>=0.12')
+makedepends=()
+url='http://search.cpan.org/dist/IO-Socket-INET6'
+source=('http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-2.67.tar.gz')
+md5sums=('228c12e74df686f78b09aee1139dc11c')
+sha512sums=('66963be943664175d693fbc8f9e49498d9a544dc1cc4d99f30d97ffd17fb446d719d153cc439dd3586a8014dae0257088f61fe1da9aa851ea379cc518ccb5863')
+_distdir="${srcdir}/IO-Socket-INET6-2.67"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$_distdir"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list