[arch-commits] Commit in perl-par-packer/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri May 28 15:14:34 UTC 2021


    Date: Friday, May 28, 2021 @ 15:14:33
  Author: foutrelis
Revision: 949868

upgpkg: perl-par-packer 1.052-4: Perl 5.34 re-rebuild

Modified:
  perl-par-packer/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-28 15:10:34 UTC (rev 949867)
+++ PKGBUILD	2021-05-28 15:14:33 UTC (rev 949868)
@@ -5,15 +5,14 @@
 
 pkgname=perl-par-packer
 pkgver=1.052
-pkgrel=3
+pkgrel=4
 pkgdesc='PAR Packager'
 arch=('x86_64')
 url='https://metacpan.org/release/PAR-Packer'
 license=('GPL')
-# This package links agains libperl.so
-depends=('perl=5.32.1' 'perl-archive-zip' 'perl-getopt-argvfile' 'perl-ipc-run3' 'perl-module-scandeps'
-          'perl-par' 'perl-par-dist')
-makedepends=('perl-extutils-makemaker')
+depends=('perl-archive-zip' 'perl-getopt-argvfile' 'perl-ipc-run3'
+         'perl-module-scandeps' 'perl-par' 'perl-par-dist')
+makedepends=('perl' 'perl-extutils-makemaker')
 options=('!emptydirs' purge)
 source=("https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-${pkgver}.tar.gz")
 b2sums=('cc8b30b3dd2b5c239574750442212b9d2d4a6ef35c8d93aca091e463cf8810feb051417ed4024f5aed011d468d98ee10b511fd70b5a94072995353a72481b923')
@@ -34,6 +33,9 @@
 }
 
 package() {
+  local _perlver=$(perl -e 'print substr($^V, 1)')
+  depends+=("perl=${_perlver}") # versioned dependency down to patch version
+
   cd PAR-Packer-${pkgver}
   unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
   make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"



More information about the arch-commits mailing list