[arch-commits] Commit in perl-proc-processtable/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 16:26:14 UTC 2020
Date: Sunday, June 21, 2020 @ 16:26:13
Author: felixonmars
Revision: 649800
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 649797, perl-proc-processtable/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-proc-processtable/repos/community-staging-x86_64/PKGBUILD (from rev 649797, perl-proc-processtable/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-06-21 16:26:13 UTC (rev 649800)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-proc-processtable
+pkgver=0.59
+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=('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