diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-proc-processtable/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-proc-processtable/PKGBUILD b/abs/core/perl_modules/perl-proc-processtable/PKGBUILD new file mode 100644 index 0000000..8f5ffc1 --- /dev/null +++ b/abs/core/perl_modules/perl-proc-processtable/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=perl-proc-processtable +pkgver=0.51 +pkgrel=1 +pkgdesc="Provides a consistent interface to process table information." +arch=('i686' '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") +md5sums=('711238eb8ce7f5583ffef084d8facceb') + +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 +} |