summaryrefslogtreecommitdiff
path: root/extra/perl-net-ssleay/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/perl-net-ssleay/PKGBUILD')
-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 51eb34b27..679c3a8d9 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' 'mips64el')
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