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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 12:04:21 UTC 2022


    Date: Sunday, May 29, 2022 @ 12:04:21
  Author: felixonmars
Revision: 1214717

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

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

Copied: perl-proc-processtable/repos/community-staging-x86_64/PKGBUILD (from rev 1214716, perl-proc-processtable/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 12:04:21 UTC (rev 1214717)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-proc-processtable
+pkgver=0.634
+pkgrel=2
+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=('0622b205b80fdced53163beb07b2bbcf7b5839349c785e9f15fb7bedae69fe2e25287e6c58db94f88cabb905c1bdfe9c5ff1eaee01f0bb2a3d695365cca25264')
+
+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