[arch-commits] Commit in perl-crypt-openssl-dsa/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 18 06:47:04 UTC 2016


    Date: Friday, November 18, 2016 @ 06:47:04
  Author: felixonmars
Revision: 196287

upgpkg: perl-crypt-openssl-dsa 0.18-1

Modified:
  perl-crypt-openssl-dsa/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++-------------------
 1 file changed, 9 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-18 06:39:25 UTC (rev 196286)
+++ PKGBUILD	2016-11-18 06:47:04 UTC (rev 196287)
@@ -4,7 +4,7 @@
 # Generator  : CPANPLUS::Dist::Arch 1.25
 
 pkgname=perl-crypt-openssl-dsa
-pkgver=0.17
+pkgver=0.18
 pkgrel=1
 pkgdesc="Digital Signature Algorithm using OpenSSL"
 arch=('i686' 'x86_64')
@@ -13,32 +13,22 @@
 depends=('openssl')
 url='http://search.cpan.org/dist/Crypt-OpenSSL-DSA'
 source=("http://search.cpan.org/CPAN/authors/id/K/KM/KMX/Crypt-OpenSSL-DSA-$pkgver.tar.gz")
-sha512sums=('9d4c634ccad1cef7012e2defca3793f8f516a321fdd848acde458c0b352f932c8e4bc61b4e0e977453dbe6cab87284c3ea42c33bc33f7a17a5bddd12f2eaaf5a')
-_distdir="Crypt-OpenSSL-DSA-$pkgver"
+sha512sums=('00d7026158a96fcd276aa61ddd5f16b110d223723d9e8823659febdf55be9f1cae7ae0c4c0c7e9314148cc042fb57c0f62b6d34b56e2fa1c41832bf6d72d3b3d')
 
 build() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
-      PERL_AUTOINSTALL=--skipdeps                            \
-      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
-      PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
-      MODULEBUILDRC=/dev/null
-
-    cd "$srcdir/$_distdir"
-    /usr/bin/perl Makefile.PL
-    make
-  )
+  cd Crypt-OpenSSL-DSA-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
 }
 
 check() {
-  cd "$srcdir/$_distdir"
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    make test
-  )
+  cd Crypt-OpenSSL-DSA-$pkgver
+  make test
 }
 
 package() {
-  cd "$srcdir/$_distdir"
-  make install
+  cd Crypt-OpenSSL-DSA-$pkgver
+  make DESTDIR="$pkgdir" install
 
   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
 # template start; name=perl-binary-module-dependency; version=1;



More information about the arch-commits mailing list