[arch-commits] Commit in perl-net-ssleay/trunk (PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Wed Nov 30 21:49:11 UTC 2011


    Date: Wednesday, November 30, 2011 @ 16:49:11
  Author: giovanni
Revision: 143941

upgpkg: perl-net-ssleay 1.42-2

rebuild

Modified:
  perl-net-ssleay/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-30 21:44:16 UTC (rev 143940)
+++ PKGBUILD	2011-11-30 21:49:11 UTC (rev 143941)
@@ -5,7 +5,7 @@
 pkgname=perl-net-ssleay
 _cpanname=Net-SSLeay
 pkgver=1.42
-pkgrel=1
+pkgrel=2
 pkgdesc="Perl extension for using OpenSSL"
 arch=('i686' 'x86_64')
 license=('custom:BSD')
@@ -21,13 +21,17 @@
   cd ${srcdir}/${_cpanname}-${pkgver}
   # install module in vendor directories.
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL -- INSTALLDIRS=vendor 
-  make  
+  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
 
-  install -D -m644 README ${pkgdir}/usr/share/licenses/${pkgname}/README
+  install -D -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-# vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list