[arch-commits] Commit in perl-net-ssleay/repos (4 files)
Giovanni Scafora
giovanni at archlinux.org
Thu May 24 21:23:03 UTC 2012
Date: Thursday, May 24, 2012 @ 17:23:03
Author: giovanni
Revision: 159480
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
perl-net-ssleay/repos/staging-i686/
perl-net-ssleay/repos/staging-i686/PKGBUILD
(from rev 159479, perl-net-ssleay/trunk/PKGBUILD)
perl-net-ssleay/repos/staging-x86_64/
perl-net-ssleay/repos/staging-x86_64/PKGBUILD
(from rev 159479, perl-net-ssleay/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: perl-net-ssleay/repos/staging-i686/PKGBUILD (from rev 159479, perl-net-ssleay/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-05-24 21:23:03 UTC (rev 159480)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=perl-net-ssleay
+_cpanname=Net-SSLeay
+pkgver=1.48
+pkgrel=2
+pkgdesc="Perl extension for using OpenSSL"
+arch=('i686' 'x86_64')
+license=('custom:BSD')
+url="http://search.cpan.org/dist/${_cpanname}/"
+depends=('openssl')
+options=(!emptydirs)
+replaces=('net-ssleay')
+provides=('net-ssleay')
+source=("http://www.cpan.org/authors/id/M/MI/MIKEM/${_cpanname}-${pkgver}.tar.gz")
+md5sums=('4e10d9da28f26732e37807820bf72af5')
+
+build() {
+ cd ${srcdir}/${_cpanname}-${pkgver}
+
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=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
+
+ install -D -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: perl-net-ssleay/repos/staging-x86_64/PKGBUILD (from rev 159479, perl-net-ssleay/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-05-24 21:23:03 UTC (rev 159480)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=perl-net-ssleay
+_cpanname=Net-SSLeay
+pkgver=1.48
+pkgrel=2
+pkgdesc="Perl extension for using OpenSSL"
+arch=('i686' 'x86_64')
+license=('custom:BSD')
+url="http://search.cpan.org/dist/${_cpanname}/"
+depends=('openssl')
+options=(!emptydirs)
+replaces=('net-ssleay')
+provides=('net-ssleay')
+source=("http://www.cpan.org/authors/id/M/MI/MIKEM/${_cpanname}-${pkgver}.tar.gz")
+md5sums=('4e10d9da28f26732e37807820bf72af5')
+
+build() {
+ cd ${srcdir}/${_cpanname}-${pkgver}
+
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=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
+
+ install -D -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list