[arch-commits] Commit in kvirc/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Fri Jun 5 16:54:05 UTC 2015
Date: Friday, June 5, 2015 @ 18:54:05
Author: spupykin
Revision: 134853
upgpkg: kvirc 4.2.0-5
upd
Modified:
kvirc/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-05 16:54:01 UTC (rev 134852)
+++ PKGBUILD 2015-06-05 16:54:05 UTC (rev 134853)
@@ -3,7 +3,7 @@
pkgname=kvirc
pkgver=4.2.0
-pkgrel=4
+pkgrel=5
pkgdesc="Qt-based IRC client"
url="http://www.kvirc.net"
depends=('python2' 'libxss' 'qtwebkit')
@@ -29,4 +29,11 @@
package() {
cd ${srcdir}/build
make DESTDIR=$pkgdir install
+# 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