summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-proc-processtable/PKGBUILD
blob: 51ee46b048d7a853dbd5f055fd69bacad3aef243 (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
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: yugrotavele <yugrotavele at archlinux dot us>

pkgname=perl-proc-processtable
pkgver=0.45
pkgrel=2
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=1.0.0' 'perl-proc-killfam=1.0.0' 'perl-proc-processtable-process=0.20.0')
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/D/DU/DURIST/Proc-ProcessTable-$pkgver.tar.gz")
md5sums=('4481495d639c314f57e6d9d25f23c88e')

build() {
  cd $srcdir/Proc-ProcessTable-$pkgver

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $srcdir/Proc-ProcessTable-$pkgver

  make install DESTDIR="${pkgdir}"
  find ${pkgdir} -name perllocal.pod -delete
  find ${pkgdir} -name .packlist -delete
}