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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:54:38 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:54:37
  Author: foutrelis
Revision: 470540

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-proc-processtable/repos/community-staging-x86_64/
  perl-proc-processtable/repos/community-staging-x86_64/PKGBUILD
    (from rev 470539, perl-proc-processtable/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: perl-proc-processtable/repos/community-staging-x86_64/PKGBUILD (from rev 470539, perl-proc-processtable/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 11:54:37 UTC (rev 470540)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-proc-processtable
+pkgver=0.56
+pkgrel=2
+pkgdesc="Provides a consistent interface to process table information."
+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")
+sha512sums=('70a5f0b27e99ed45434664340068fef028cbf3c93242d7208f82f4608d030198ba65593443508e31a0637ddd8c20f3ecba80c25dabd903c5b3b04c3833db9a2d')
+
+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
+}



More information about the arch-commits mailing list