summaryrefslogtreecommitdiff
path: root/extra/perl-net-ssleay
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-01 23:14:46 +0000
committerroot <root@rshg054.dnsready.net>2011-12-01 23:14:46 +0000
commit9e9ab642711f2424f828e21d14b98c45cdef2b29 (patch)
tree5c1495cfda2b453e377084bad1b20e431e119063 /extra/perl-net-ssleay
parentbc0657f7159d0b01373ecb59afc426b98a172b1e (diff)
Thu Dec 1 23:14:46 UTC 2011
Diffstat (limited to 'extra/perl-net-ssleay')
-rw-r--r--extra/perl-net-ssleay/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/perl-net-ssleay/PKGBUILD b/extra/perl-net-ssleay/PKGBUILD
index ebb700a16..a48807752 100644
--- a/extra/perl-net-ssleay/PKGBUILD
+++ b/extra/perl-net-ssleay/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 140126 2011-10-07 15:32:39Z giovanni $
+# $Id: PKGBUILD 143942 2011-11-30 21:49:37Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Manolis Tzanidakis
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 @@ build() {
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