[arch-commits] Commit in perl/trunk (perl-binary-module-dependency-1.template)
Florian Pritz
bluewind at archlinux.org
Wed Feb 11 22:17:35 UTC 2015
Date: Wednesday, February 11, 2015 @ 23:17:35
Author: bluewind
Revision: 231303
improve template
Modified:
perl/trunk/perl-binary-module-dependency-1.template
------------------------------------------+
perl-binary-module-dependency-1.template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: perl-binary-module-dependency-1.template
===================================================================
--- perl-binary-module-dependency-1.template 2015-02-11 22:03:00 UTC (rev 231302)
+++ perl-binary-module-dependency-1.template 2015-02-11 22:17:35 UTC (rev 231303)
@@ -1,5 +1,5 @@
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);')
+ _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
More information about the arch-commits
mailing list