blob: 8f5ffc1318a591fe7c687c95fee8ae6d5ebda517 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
}
|