summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 16:07:53 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 16:07:53 (GMT)
commit6e797d6b7ce7b9fd13df8530897f4db5bf022da4 (patch)
tree42bea98f8c830fd5bd595854ef899657ffb3c3ac /abs/core
parent17a1aff3517d477a34355c319df2ce6f22031c64 (diff)
downloadlinhes_pkgbuild-6e797d6b7ce7b9fd13df8530897f4db5bf022da4.zip
linhes_pkgbuild-6e797d6b7ce7b9fd13df8530897f4db5bf022da4.tar.gz
linhes_pkgbuild-6e797d6b7ce7b9fd13df8530897f4db5bf022da4.tar.bz2
perl-proc-processtable: update to 0.55
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-proc-processtable/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/abs/core/perl_modules/perl-proc-processtable/PKGBUILD b/abs/core/perl_modules/perl-proc-processtable/PKGBUILD
index 8f5ffc1..19211fa 100644
--- a/abs/core/perl_modules/perl-proc-processtable/PKGBUILD
+++ b/abs/core/perl_modules/perl-proc-processtable/PKGBUILD
@@ -1,18 +1,18 @@
# $Id$
-# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=perl-proc-processtable
-pkgver=0.51
+pkgver=0.55
pkgrel=1
pkgdesc="Provides a consistent interface to process table information."
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://search.cpan.org/dist/Proc-ProcessTable/"
license=('PerlArtistic')
depends=('perl')
provides=('perl-proc-killall' 'perl-proc-killfam' 'perl-proc-processtable-process')
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/J/JW/JWB/Proc-ProcessTable-$pkgver.tar.gz")
-md5sums=('711238eb8ce7f5583ffef084d8facceb')
+sha512sums=('2af3860c6d48508aecd1d97d323ede21318b801873a24fbc4340fa5b526ad7d1c5b55c52044a73cc92e6c0f5dac612c21089bb8cbe4b1d779bb3eb9a7b87bed1')
build() {
cd "$srcdir/Proc-ProcessTable-$pkgver"
@@ -32,4 +32,12 @@ package() {
make install DESTDIR="${pkgdir}"
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;
}