[arch-commits] Commit in perl-proc-processtable/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 12:24:43 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:24:43
Author: foutrelis
Revision: 366770
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 366768, perl-proc-processtable/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: perl-proc-processtable/repos/community-staging-x86_64/PKGBUILD (from rev 366768, perl-proc-processtable/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-01 12:24:43 UTC (rev 366770)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-proc-processtable
+pkgver=0.55
+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=('2af3860c6d48508aecd1d97d323ede21318b801873a24fbc4340fa5b526ad7d1c5b55c52044a73cc92e6c0f5dac612c21089bb8cbe4b1d779bb3eb9a7b87bed1')
+
+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