[arch-commits] Commit in perl-io-socket-ssl/trunk (PKGBUILD)

Kevin Piché kevin at archlinux.org
Tue Jul 12 01:37:44 UTC 2011


    Date: Monday, July 11, 2011 @ 21:37:44
  Author: kevin
Revision: 131221

upgpkg: perl-io-socket-ssl 1.44-1
Updated to 1.44

Modified:
  perl-io-socket-ssl/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-11 23:56:50 UTC (rev 131220)
+++ PKGBUILD	2011-07-12 01:37:44 UTC (rev 131221)
@@ -5,7 +5,7 @@
 
 pkgname=perl-io-socket-ssl
 _cpanname=IO-Socket-SSL
-pkgver=1.33
+pkgver=1.44
 pkgrel=1
 pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET"
 arch=(any)
@@ -14,15 +14,19 @@
 depends=('perl-net-ssleay' 'perl>=5.10.0')
 options=(!emptydirs)
 source=(http://www.cpan.org/authors/id/S/SU/SULLR/${_cpanname}-${pkgver}.tar.gz)
-md5sums=('e288b5cda3de1f4cbf15e2eb709e9d7c')
+md5sums=('c9d23d3398f7c0dfce0a1cf6d21e86c7')
 
 build() {
   cd ${srcdir}/${_cpanname}-${pkgver}
   # install module in vendor directories.
-  perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make install DESTDIR=${pkgdir} || return 1
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
 
+package() {
+  cd ${srcdir}/${_cpanname}-${pkgver}
+  make install DESTDIR=${pkgdir}
+
   # remove perllocal.pod and .packlist
   find ${pkgdir} -name perllocal.pod -delete
   find ${pkgdir} -name .packlist -delete




More information about the arch-commits mailing list