[arch-commits] Commit in hivex/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 29 01:20:46 UTC 2021


    Date: Saturday, May 29, 2021 @ 01:20:46
  Author: foutrelis
Revision: 950083

upgpkg: hivex 1.3.20-5: remove versioned perl dependency

Nowadays Perl uses a versioned subdirectory under /usr/lib/perl5/.

Modified:
  hivex/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-28 23:01:35 UTC (rev 950082)
+++ PKGBUILD	2021-05-29 01:20:46 UTC (rev 950083)
@@ -4,7 +4,7 @@
 
 pkgname=hivex
 pkgver=1.3.20
-pkgrel=4
+pkgrel=5
 pkgdesc="System for extracting the contents of Windows Registry."
 arch=("x86_64")
 url="http://libguestfs.org"
@@ -33,18 +33,7 @@
     chrpath -d perl/blib/arch/auto/Win/Hivex/Hivex.so
 }
 
-_perl_depends() {
-# template start; name=perl-binary-module-dependency; version=1;
-if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
-	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
-	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
-	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
-fi
-# template end;
-}
-
 package() {
     cd "$pkgname-$pkgver"
     make DESTDIR="$pkgdir" install
-    _perl_depends
 }



More information about the arch-commits mailing list