[arch-commits] Commit in perl-proc-processtable/repos (6 files)

Florian Pritz bluewind at archlinux.org
Fri May 27 08:02:16 UTC 2016


    Date: Friday, May 27, 2016 @ 10:02:16
  Author: bluewind
Revision: 177229

db-move: moved perl-proc-processtable from [community-staging] to [community-testing] (i686, x86_64)

Added:
  perl-proc-processtable/repos/community-testing-i686/
  perl-proc-processtable/repos/community-testing-i686/PKGBUILD
    (from rev 177228, perl-proc-processtable/repos/community-staging-i686/PKGBUILD)
  perl-proc-processtable/repos/community-testing-x86_64/
  perl-proc-processtable/repos/community-testing-x86_64/PKGBUILD
    (from rev 177228, perl-proc-processtable/repos/community-staging-x86_64/PKGBUILD)
Deleted:
  perl-proc-processtable/repos/community-staging-i686/
  perl-proc-processtable/repos/community-staging-x86_64/

-----------------------------------+
 community-testing-i686/PKGBUILD   |   43 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   43 ++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: perl-proc-processtable/repos/community-testing-i686/PKGBUILD (from rev 177228, perl-proc-processtable/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-05-27 08:02:16 UTC (rev 177229)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-proc-processtable
+pkgver=0.53
+pkgrel=2
+pkgdesc="Provides a consistent interface to process table information."
+arch=('i686' '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=('8cb894f18ba49558683860ae9082ca4a')
+
+build() {
+  cd "$srcdir/Proc-ProcessTable-$pkgver"
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/Proc-ProcessTable-$pkgver"
+  make test
+}
+
+package() {
+  cd "$srcdir/Proc-ProcessTable-$pkgver"
+
+  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;
+}

Copied: perl-proc-processtable/repos/community-testing-x86_64/PKGBUILD (from rev 177228, perl-proc-processtable/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-05-27 08:02:16 UTC (rev 177229)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-proc-processtable
+pkgver=0.53
+pkgrel=2
+pkgdesc="Provides a consistent interface to process table information."
+arch=('i686' '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=('8cb894f18ba49558683860ae9082ca4a')
+
+build() {
+  cd "$srcdir/Proc-ProcessTable-$pkgver"
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/Proc-ProcessTable-$pkgver"
+  make test
+}
+
+package() {
+  cd "$srcdir/Proc-ProcessTable-$pkgver"
+
+  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;
+}



More information about the arch-commits mailing list