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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 11:35:25 UTC 2021


    Date: Monday, May 24, 2021 @ 11:35:25
  Author: foutrelis
Revision: 944649

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 944648, perl-proc-processtable/trunk/PKGBUILD)

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

Copied: perl-proc-processtable/repos/community-staging-x86_64/PKGBUILD (from rev 944648, perl-proc-processtable/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 11:35:25 UTC (rev 944649)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-proc-processtable
+pkgver=0.59
+pkgrel=3
+pkgdesc="Provides a consistent interface to process table information."
+arch=('x86_64')
+url="https://search.cpan.org/dist/Proc-ProcessTable/"
+license=('PerlArtistic')
+depends=('perl')
+provides=('perl-proc-killall' 'perl-proc-killfam' 'perl-proc-processtable-process')
+options=(!emptydirs)
+source=("https://search.cpan.org/CPAN/authors/id/J/JW/JWB/Proc-ProcessTable-$pkgver.tar.gz")
+sha512sums=('25162732cdbfdc151db69d6b225137c60dcd1dc31671119007814b2bb82dd7d7c50f4ec4ef49e0cdf2eb04d6d7b60f4d6d39804ab9acada5f1b0230b387e352c')
+
+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