[arch-commits] CVS update of extra/lib/perl-net-ssleay (PKGBUILD)

Kevin Piche kevin at archlinux.org
Mon Jan 14 04:29:24 UTC 2008


    Date: Sunday, January 13, 2008 @ 23:29:24
  Author: kevin
    Path: /home/cvs-extra/extra/lib/perl-net-ssleay

Modified: PKGBUILD (1.7 -> 1.8)

upgpkg: perl-net-ssleay 1.30-2
Forgot to bump pkgrel, added license


----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)


Index: extra/lib/perl-net-ssleay/PKGBUILD
diff -u extra/lib/perl-net-ssleay/PKGBUILD:1.7 extra/lib/perl-net-ssleay/PKGBUILD:1.8
--- extra/lib/perl-net-ssleay/PKGBUILD:1.7	Sat Jan 12 22:57:26 2008
+++ extra/lib/perl-net-ssleay/PKGBUILD	Sun Jan 13 23:29:24 2008
@@ -1,23 +1,24 @@
-# $Id: PKGBUILD,v 1.7 2008/01/13 03:57:26 kevin Exp $
+# $Id: PKGBUILD,v 1.8 2008/01/14 04:29:24 kevin Exp $
 # Maintainer: eric <eric at archlinux.org>
 # Contributor: Manolis Tzanidakis
 
 pkgname=perl-net-ssleay
 _realname=Net_SSLeay.pm
 pkgver=1.30
-pkgrel=1
+pkgrel=2
 pkgdesc="Perl extension for using OpenSSL"
 arch=(i686 x86_64)
+license=('custom:BSD')
 url="http://search.cpan.org/dist/${_realname}/"
 depends=('perl>=5.10.0' 'openssl')
 options=(!emptydirs)
 replaces=('net-ssleay')
 provides=('net-ssleay')
-source=(http://www.cpan.org/authors/id/F/FL/FLORA/${_realname}-$pkgver.tar.gz)
+source=(http://www.cpan.org/authors/id/F/FL/FLORA/${_realname}-${pkgver}.tar.gz)
 md5sums=('b0cd6c1681bbc0695d81be5cd852d1d0')
 
 build() {
-  cd $startdir/src/${_realname}-$pkgver
+  cd ${startdir}/src/${_realname}-${pkgver}
   # install module in vendor directories.
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL -- INSTALLDIRS=vendor || return 1
   make  || return 1
@@ -26,5 +27,7 @@
   # remove perllocal.pod and .packlist
   find ${startdir}/pkg -name perllocal.pod -delete
   find ${startdir}/pkg -name .packlist -delete
+
+  install -D -m644 README ${startdir}/pkg/usr/share/licenses/${pkgname}/README
 }
 # vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list