[arch-commits] Commit in perl-net-ssleay/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Jan 26 22:49:39 UTC 2020
Date: Sunday, January 26, 2020 @ 22:49:38
Author: anthraxx
Revision: 373982
archrelease: copy trunk to extra-x86_64
Added:
perl-net-ssleay/repos/extra-x86_64/PKGBUILD
(from rev 373981, perl-net-ssleay/trunk/PKGBUILD)
Deleted:
perl-net-ssleay/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 95 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 44 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-26 22:49:33 UTC (rev 373981)
+++ PKGBUILD 2020-01-26 22:49:38 UTC (rev 373982)
@@ -1,51 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Manolis Tzanidakis
-
-pkgname=perl-net-ssleay
-_cpanname=Net-SSLeay
-pkgver=1.85
-pkgrel=4
-pkgdesc='Perl extension for using OpenSSL'
-url='https://search.cpan.org/dist/Net-SSLeay/'
-arch=('x86_64')
-license=('custom:BSD')
-depends=('openssl')
-makedepends=('chrpath')
-replaces=('net-ssleay')
-provides=('net-ssleay')
-options=('!emptydirs')
-source=(https://www.cpan.org/authors/id/M/MI/MIKEM/${_cpanname}-${pkgver}.tar.gz)
-sha512sums=('74e0f2f56b707f1ff845c78c1fa7ce26a71b8f943bb99e994d4e065d1f42259fe4cd1a6a17d333459727534158f9541f116dbc8515122380807d9450b0faa26b')
-
-prepare() {
- cd ${_cpanname}-${pkgver}
- sed -i \
- -e "/\$opts->{optimize} = '-O2 -g';/d" \
- inc/Module/Install/PRIVATE/Net/SSLeay.pm
-}
-
-build() {
- cd ${_cpanname}-${pkgver}
- export OPTIMIZE="${CFLAGS}"
- export OPENSSL_PREFIX=/usr
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
- make
-}
-
-check() {
- cd ${_cpanname}-${pkgver}
- make test
-}
-
-package() {
- cd ${_cpanname}-${pkgver}
-
- make install DESTDIR="${pkgdir}"
- install -Dm 644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- # strip rpath
- find "${pkgdir}" -name '*.so' -exec chrpath -d '{}' \;
-}
-
-# vim: ts=2 sw=2 et:
Copied: perl-net-ssleay/repos/extra-x86_64/PKGBUILD (from rev 373981, perl-net-ssleay/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-26 22:49:38 UTC (rev 373982)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=perl-net-ssleay
+_cpanname=Net-SSLeay
+pkgver=1.88
+pkgrel=1
+pkgdesc='Perl extension for using OpenSSL'
+url='https://search.cpan.org/dist/Net-SSLeay/'
+arch=('x86_64')
+license=('custom:BSD')
+depends=('openssl')
+makedepends=('chrpath')
+replaces=('net-ssleay')
+provides=('net-ssleay')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/C/CH/CHRISN/${_cpanname}-${pkgver}.tar.gz)
+sha512sums=('37fc32ec003337f3dc18bf928139079a3127628c6fa0fccaed0c27b6bf3b216c2c5338ed1aaf9408b0add3be549df3218d3c5a6d6299793c1329d8a0813a1682')
+b2sums=('1a58296693cf41c464ac67a7f630598ccbf261ed0374a5381e3f718361b66418d13b5357bf7a49267a9e3bcd8d423fdedccd6b60d34aa60c975a5e3d1b0688e7')
+
+build() {
+ cd ${_cpanname}-${pkgver}
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd ${_cpanname}-${pkgver}
+ make test
+}
+
+package() {
+ cd ${_cpanname}-${pkgver}
+
+ make install DESTDIR="${pkgdir}"
+ install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+ # strip rpath
+ find "${pkgdir}" -name '*.so' -exec chrpath -d '{}' \;
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list