[arch-commits] Commit in perl-locale-gettext/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Jun 3 08:18:47 UTC 2015
Date: Wednesday, June 3, 2015 @ 10:18:46
Author: fyan
Revision: 240287
upgpkg: perl-locale-gettext 1.05-12
perl 5.22 rebuild
Modified:
perl-locale-gettext/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-03 08:15:55 UTC (rev 240286)
+++ PKGBUILD 2015-06-03 08:18:46 UTC (rev 240287)
@@ -6,7 +6,7 @@
pkgname=perl-locale-gettext
_realname=gettext
pkgver=1.05
-pkgrel=11
+pkgrel=12
pkgdesc="Permits access from Perl to the gettext() family of functions"
arch=('i686' 'x86_64')
license=('GPL' 'PerlArtistic')
@@ -40,4 +40,12 @@
# remove perllocal.pod and .packlist
find "${pkgdir}" -name perllocal.pod -delete
find "${pkgdir}" -name .packlist -delete
+
+# 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;
}
More information about the arch-commits
mailing list